Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
albaintor committed Oct 10, 2024
1 parent 5815b69 commit b6302fa
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,15 +242,27 @@ jobs:
docker build . --tag ghcr.io/albaintor/ucr-tool:latest
docker push ghcr.io/albaintor/ucr-tool:latest
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker to Docker Hub
uses: docker/build-push-action@v6
with:
context: .
args: username=albaintor,password=${{ secrets.GH_PAT }}
file: Dockerfile
platforms: ${{ matrix.platforms }}
push: true
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Unfolded Circle Toolkit
tags: user/app:latest

# - name: Build and push Docker image
# uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
# with:
# context: .
# args: username=albaintor,password=${{ secrets.GH_PAT }}
# file: Dockerfile
# platforms: ${{ matrix.platforms }}
# push: true
# outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Unfolded Circle Toolkit

- name: Prepare artifacts
shell: bash
Expand Down

0 comments on commit b6302fa

Please sign in to comment.