From cdac504d59177ab83a9a56dd5c9012994bb70410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mitja=20=C5=A0everkar?= Date: Thu, 26 Oct 2023 20:19:17 +0200 Subject: [PATCH] first try? --- .github/workflows/docker.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index faad42c..8472caf 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,7 +6,6 @@ on: jobs: docker: name: Docker build - if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -18,16 +17,9 @@ jobs: username: ${{github.actor}} password: ${{secrets.GITHUB_TOKEN}} registry: "ghcr.io" - - name: Get Docker meta - id: meta - uses: docker/metadata-action@v3 - with: - images: ghcr.io/${{ github.repository }} - tags: type=ref,event=tag - name: Build Docker image uses: docker/build-push-action@v2 with: file: "./Dockerfile" - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - push: true \ No newline at end of file + tags: ghcr.io/${{ github.repository }}:latest + push: true