File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050
5151 build-and-push-docker :
5252 needs : build-and-test
53- if : github.ref == 'refs/heads/{{ github.event.repository.default_branch }} ' || startsWith(github.ref, 'refs/tags/v')
53+ if : github.ref == 'refs/heads/main ' || startsWith(github.ref, 'refs/tags/v')
5454
5555 runs-on : ubuntu-latest
5656 timeout-minutes : 30
6262 with :
6363 exclude : " docs/*"
6464
65- # https://github.com/docker/metadata-action
6665 - name : Export Metadata for Docker 🖊️
6766 id : meta
6867 uses : docker/metadata-action@v5
7473 type=ref,event=branch
7574 type=semver,pattern={{version}}
7675
77- # https://github.com/docker/setup-qemu-action
7876 - name : Set up QEMU ⚙
7977 uses : docker/setup-qemu-action@v3
8078
81- # https://github.com/docker/setup-buildx-action
8279 - name : Set up Docker Buildx ⚙
8380 id : buildx
8481 uses : docker/setup-buildx-action@v3
9996 username : ${{ github.repository_owner }}
10097 password : ${{ secrets.GITHUB_TOKEN }}
10198
102- # https://github.com/docker/build-push-action
10399 - name : Build and push to DH & GHCR 📦
104100 uses : docker/build-push-action@v5
105101 with :
@@ -108,7 +104,7 @@ jobs:
108104 push : true
109105 tags : ${{ steps.meta.outputs.tags }}
110106 labels : ${{ steps.meta.outputs.labels }}
111- cache-from : type=registry,ref=user/app :latest
107+ cache-from : type=registry,ref=modischfabrications/cutsolver_frontend :latest
112108 cache-to : type=inline
113109
114110 - name : Update DH description 🖊️
You can’t perform that action at this time.
0 commit comments