Skip to content

Commit 7b04ab0

Browse files
committed
Fix auth
1 parent 00ab849 commit 7b04ab0

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,21 @@ jobs:
1414
- context: debian-bullseye
1515
image: debian-bullseye
1616
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
1720
- name: Login to Docker Hub
1821
uses: docker/login-action@v3
1922
with:
23+
registry: ghcr.io
2024
username: ${{github.actor}}
21-
password: ${{secrets.GNUS_TOKEN_1}}
25+
password: ${{secrets.GITHUB_TOKEN}}
2226

2327
- name: Set up QEMU
2428
uses: docker/setup-qemu-action@v3
2529

2630
- name: Build and push
2731
run: |
28-
IMAGE="docker build --platform linux/arm64,linux/amd64 -t ghcr.io/geniusventures/${{matrix.image}}:latest"
29-
docker build -t "${IMAGE}" "${{matrix.context}}"
32+
IMAGE="ghcr.io/geniusventures/${{matrix.image}}:latest"
33+
docker build --platform linux/arm64,linux/amd64 -t "${IMAGE}" "${{matrix.context}}"
3034
docker push "${IMAGE}"

0 commit comments

Comments
 (0)