Skip to content

Commit

Permalink
Change tags
Browse files Browse the repository at this point in the history
  • Loading branch information
marius.crisan authored and marius.crisan committed Dec 18, 2023
1 parent 7cb7445 commit e84942d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ inputs.docker-user }}/${{ inputs.docker-repo-name }}
tags: type=semver,pattern={{version}}

- name: Build and push Docker (develop image)
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
Expand All @@ -84,7 +85,7 @@ jobs:
build-args: |
test_pypi_flag=--extra-index-url https://test.pypi.org/simple/
${{ inputs.docker-build-args }}
tags: ${{ steps.meta.outputs.tags }}
tags: "latest,${{ steps.meta.outputs.tags }}"
labels: ${{ steps.meta.outputs.labels }}

- name: Build and push Docker (production image)
Expand All @@ -97,6 +98,6 @@ jobs:
build-args: |
USER=${{ inputs.docker-user-arg }}
GROUP=${{ inputs.docker-group-arg }}
tags: ${{ steps.meta.outputs.tags }}
tags: "latest,${{ steps.meta.outputs.tags }}"
labels: ${{ steps.meta.outputs.labels }}
target: ${{ inputs.docker-target }}

0 comments on commit e84942d

Please sign in to comment.