From 6c2abf5eda8134fca111689308935cb417704b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Fri, 28 Jul 2023 14:52:47 +0200 Subject: [PATCH] gha: fixup docker push step --- .github/workflows/build-images.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 8df476a..bff60f3 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -23,8 +23,15 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Docker meta + id: meta + uses: docker/metadata-action@v4 + with: + images: ghcr.io/${{ github.repository }} + tags: latest - name: Build and push Docker image uses: docker/build-push-action@v4.1.1 with: + context: . push: true - tags: ${{ github.repository }}:latest + tags: ${{ steps.meta.outputs.tags }}