From 643e9c139dfa36edca29937dbcf0cab9ea274e26 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Wed, 20 Mar 2024 16:06:08 +0200 Subject: [PATCH] Update .forgejo/workflows/buildpush.yaml --- .forgejo/workflows/buildpush.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/buildpush.yaml b/.forgejo/workflows/buildpush.yaml index 6441035..45b2ae3 100644 --- a/.forgejo/workflows/buildpush.yaml +++ b/.forgejo/workflows/buildpush.yaml @@ -18,20 +18,21 @@ jobs: - name: Checkout uses: https://github.com/actions/checkout@v4 - - name: Extract metadata (tags, labels) for Docker - id: meta - uses: https://github.com/docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 - with: - images: jt/hopeasini +# - name: Extract metadata (tags, labels) for Docker +# id: meta +# uses: https://github.com/docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 +# with: +# images: jt/hopeasini - name: Build and push Docker image - uses: https://github.com/docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 + uses: https://github.com/docker/build-push-action@5 with: context: . file: ./Dockerfile push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + tags: git.jakest.us/jt/hopeasini:test + secrets: | + GIT_AUTH_TOKEN=${{ secrets.DOCKER_PASSWORD }} # - name: Set up Docker Buildx