Skip to content

Commit

Permalink
add github ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
zelje committed Nov 18, 2024
1 parent 7bbe662 commit 291233e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to docker.io
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_UID }}
password: ${{ secrets.DOCKER_HUB_PAT }}
#- name: Login to docker.io
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_HUB_UID }}
# password: ${{ secrets.DOCKER_HUB_PAT }}

- name: Build and push image for tags
uses: docker/build-push-action@v5
Expand All @@ -47,8 +47,8 @@ jobs:
tags: |
ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
ghcr.io/${{ github.repository }}:latest
${{ secrets.DOCKER_HUB_REPO }}:${{ env.IMAGE_TAG }}
${{ secrets.DOCKER_HUB_REPO }}:latest
#${{ secrets.DOCKER_HUB_REPO }}:${{ env.IMAGE_TAG }}
#${{ secrets.DOCKER_HUB_REPO }}:latest
- name: Build and push image for main
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 291233e

Please sign in to comment.