Update docker-image.yml

add latest tag to building docker container image for master branch
This commit is contained in:
PascalR 2023-08-18 07:26:51 +02:00 committed by GitHub
parent 02da57961c
commit 9afbbd8e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,8 @@ jobs:
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: ${{ env.REGISTRY_NAME }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY_NAME }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
- name: Building And Pushing Image - name: Building And Pushing Image
id: docker_build id: docker_build