Skip to content

Commit

Permalink
fix ci (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-coding committed May 27, 2024
1 parent a6331d8 commit edcd8ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/build-push-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,20 @@ jobs:

# Setting up Buildx because it's needed by build-push-action
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1
with:
# Using this driver fixes the timeout issue with buildx that made it impossible to push more than one image to the GHCR.
driver-opts: image=moby/buildkit:master
install: true
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_REGISTRY_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push the image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
push: true
no-cache: true
tags: |
ghcr.io/dudrie/tutor-management-system:${{ github.event.release.tag_name }}
ghcr.io/dudrie/tutor-management-system:latest
ghcr.io/TMS-Uni-Stuttgart/tutor-management-system:${{ github.event.release.tag_name }}
ghcr.io/TMS-Uni-Stuttgart/tutor-management-system:latest
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "3.0.2",
"version": "3.0.3",
"engines": {
"node": ">=14",
"pnpm": ">=5"
Expand Down

0 comments on commit edcd8ca

Please sign in to comment.