We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems the tag latest is automatically being applied when running this action. How can I prevent adding the latest tag?
latest
- name: Extract metadata (tags, labels) for Docker image id: metadata uses: docker/metadata-action@v3 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image uses: docker/build-push-action@v2 with: context: . push: true tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }}
The text was updated successfully, but these errors were encountered:
@nodesocket If you don't want the latest tag to be automatically generated, set latest=false for the flavor input:
latest=false
flavor
- name: Extract metadata (tags, labels) for Docker image uses: docker/metadata-action@v3 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} flavor: | latest=false
Sorry, something went wrong.
@crazy-max that worked. Thanks for the help. 🙏🏻
No branches or pull requests
It seems the tag
latest
is automatically being applied when running this action. How can I prevent adding thelatest
tag?The text was updated successfully, but these errors were encountered: