Skip to content

Commit 600c806

Browse files
Update docker-publish.yml
1 parent fa574e8 commit 600c806

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
2323

24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v3
26+
2427
- name: Log in to GitHub Container Registry
25-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
28+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
2629

2730
- name: Build Docker image
2831
run: |
2932
make build
30-
docker build -t ghcr.io/geochemical-modeling/js2-gateway:latest -t ghcr.io/geochemical-modeling/js2-gateway:${{ github.sha }} .
33+
docker build -t ghcr.io/geochemical-modeling/js2-gateway:latest \
34+
-t ghcr.io/geochemical-modeling/js2-gateway:${{ github.sha }} .
3135
3236
- name: Push Docker image
3337
run: |

0 commit comments

Comments
 (0)