Skip to content

Commit b956ef6

Browse files
authored
Update Docker image name and secrets in workflow (#38)
1 parent 0772a65 commit b956ef6

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/docker.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010

1111
env:
12-
IMAGE_NAME: fabnemepfl/mirage
12+
IMAGE_NAME: fabnemepfl/mmirage
1313
REGISTRY: docker.io
1414

1515
jobs:
@@ -21,11 +21,11 @@ jobs:
2121
- platform: ubuntu-latest
2222
path: docker/Dockerfile
2323
tag_base: amd64
24-
name: mirage-git
24+
name: mmirage-git
2525
- platform: ubuntu-24.04-arm
2626
path: docker/Dockerfile
2727
tag_base: arm64
28-
name: mirage-git
28+
name: mmirage-git
2929

3030
runs-on: ${{ matrix.platform }}
3131
environment: docker
@@ -64,8 +64,8 @@ jobs:
6464
- name: Log in to DockerHub
6565
uses: docker/login-action@v3
6666
with:
67-
username: ${{ secrets.DOCKER_USERNAME }}
68-
password: ${{ secrets.DOCKER_PASSWORD }}
67+
username: ${{ secrets.DOCKERHUB_USERNAME }}
68+
password: ${{ secrets.DOCKERHUB_TOKEN }}
6969

7070
- name: Set up Docker Buildx
7171
uses: docker/setup-buildx-action@v3
@@ -77,5 +77,5 @@ jobs:
7777
file: ${{ matrix.path }}
7878
push: true
7979
tags: |
80-
${{ secrets.DOCKER_USERNAME }}/${{ matrix.name }}:latest-${{ matrix.tag_base }}
81-
${{ secrets.DOCKER_USERNAME }}/${{ matrix.name }}:${{ github.sha }}-${{ matrix.tag_base }}
80+
${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.name }}:latest-${{ matrix.tag_base }}
81+
${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.name }}:${{ github.sha }}-${{ matrix.tag_base }}

0 commit comments

Comments
 (0)