Update .forgejo/workflows/buildpush.yaml
Some checks failed
Build And Test / build and push (push) Failing after 14s

This commit is contained in:
Jarkko Toivanen 2024-03-20 16:06:08 +02:00
parent 8953c5c4ed
commit 643e9c139d

View file

@ -18,20 +18,21 @@ jobs:
- name: Checkout - name: Checkout
uses: https://github.com/actions/checkout@v4 uses: https://github.com/actions/checkout@v4
- name: Extract metadata (tags, labels) for Docker # - name: Extract metadata (tags, labels) for Docker
id: meta # id: meta
uses: https://github.com/docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 # uses: https://github.com/docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with: # with:
images: jt/hopeasini # images: jt/hopeasini
- name: Build and push Docker image - 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: with:
context: . context: .
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: git.jakest.us/jt/hopeasini:test
labels: ${{ steps.meta.outputs.labels }} secrets: |
GIT_AUTH_TOKEN=${{ secrets.DOCKER_PASSWORD }}
# - name: Set up Docker Buildx # - name: Set up Docker Buildx