more changes for local build
Some checks failed
Build and Publish Docker Image / build (push) Failing after 11s

This commit is contained in:
Timothy Rogers 2025-05-24 11:22:29 -04:00
parent d2b8c226d5
commit d5056d41b6

View file

@ -28,16 +28,12 @@ jobs:
- name: Login to Container Registry
if: github.event_name != 'pull_request'
shell: bash
shell: sh
run: |
echo "${{ secrets.FORGEJO_TOKEN }}" | docker login ${{ vars.FORGEJO_REGISTRY }} -u ${{ vars.FORGEJO_USER }} --password-stdin
- name: Build and Push
uses: docker/build-push-action@v4
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
shell: sh
run: |
docker build -t ${{ vars.FORGEJO_REGISTRY }}/${{ vars.FORGEJO_OWNER }}/personal-digital-asset-manager:latest .
docker push ${{ vars.FORGEJO_REGISTRY }}/${{ vars.FORGEJO_OWNER }}/personal-digital-asset-manager:latest