Skip to content

Commit

Permalink
tune ko
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelo Conforti committed Aug 15, 2024
1 parent 67f69ca commit 8668913
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,18 @@ jobs:
- name: Setup Ko
uses: ko-build/[email protected]

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build Image
env:
auth_token: ${{ secrets.DOCKERHUB_TOKEN }}
AUTH_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
KO_DOCKER_REPO: angeloxx/cilium-egress-observer
VERSION: latest
run: |
echo "${auth_token}" | ko login hub.docker.io --username angeloxx --password-stdin
# echo "${AUTH_TOKEN}" | ko login hub.docker.io --username angeloxx --password-stdin
make build-image

0 comments on commit 8668913

Please sign in to comment.