This commit is contained in:
parent
7fc19b7a93
commit
38504c9ed0
1 changed files with 2 additions and 3 deletions
|
@ -9,14 +9,13 @@ jobs:
|
||||||
image: library/docker:dind
|
image: library/docker:dind
|
||||||
steps:
|
steps:
|
||||||
- run: apk add --no-cache nodejs git
|
- run: apk add --no-cache nodejs git
|
||||||
- run: git clone https://github.com/PetHubLocal/pethublocal
|
- run: git clone https://github.com/PetHubLocal/pethublocal && git -C pethublocal checkout d3fc739afe381398a0d9fb612b9b087508ed1f95
|
||||||
- name: login to container registry
|
- name: login to container registry
|
||||||
run: echo "${{ secrets.DEPLOY_TOKEN }}" | docker login --username ${{ secrets.DEPLOY_USER }} --password-stdin git.janky.solutions
|
run: echo "${{ secrets.DEPLOY_TOKEN }}" | docker login --username ${{ secrets.DEPLOY_USER }} --password-stdin git.janky.solutions
|
||||||
- name: build container image
|
- name: build container image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
file: Containerfile
|
context: pethublocal
|
||||||
context: "{{defaultContext}}:pethublocal"
|
|
||||||
tags: git.janky.solutions/jankysolutions/infra/pethublocal:latest
|
tags: git.janky.solutions/jankysolutions/infra/pethublocal:latest
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
|
|
Loading…
Reference in a new issue