more changes for local build
Some checks failed
Build and Publish Docker Image / build (push) Failing after 11s
Some checks failed
Build and Publish Docker Image / build (push) Failing after 11s
This commit is contained in:
parent
d2b8c226d5
commit
d5056d41b6
1 changed files with 5 additions and 9 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue