add the tag and push part
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
|||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: gitea.tryton.geeraert.eu/pi-ux-ce/custom-runner-debian-slim:latest
|
image: gitea.geeraert.eu/pi-ux-ce/custom-runner-debian-slim:latest
|
||||||
volumes:
|
volumes:
|
||||||
- act-toolcache:/opt/hostedtoolcache # this is where Runner store their cache default
|
- act-toolcache:/opt/hostedtoolcache # this is where Runner store their cache default
|
||||||
runs-on: host-runner
|
runs-on: host-runner
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
needs: setup
|
needs: setup
|
||||||
runs-on: host-runner
|
runs-on: host-runner
|
||||||
container:
|
container:
|
||||||
image: gitea.tryton.geeraert.eu/pi-ux-ce/custom-runner-debian-slim:latest
|
image: gitea.geeraert.eu/pi-ux-ce/custom-runner-debian-slim:latest
|
||||||
strategy:
|
strategy:
|
||||||
# Prevents all other jobs from failing immediately if one image fails
|
# Prevents all other jobs from failing immediately if one image fails
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -46,19 +46,16 @@ jobs:
|
|||||||
- name: Login to gitea
|
- name: Login to gitea
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: gitea.tryton.geeraert.eu
|
registry: gitea.geeraert.eu
|
||||||
username: ${{ secrets.USERNAME_GITEA }}
|
username: ${{ secrets.USERNAME_GITEA }}
|
||||||
password: ${{ secrets.PASSWORD_GITEA }}
|
password: ${{ secrets.PASSWORD_GITEA }}
|
||||||
|
|
||||||
|
|
||||||
- name: Docker Pull
|
- run: docker pull ${{ matrix.image }}
|
||||||
run: docker pull ${{ matrix.image }}
|
|
||||||
|
- run: docker tag ${{ matrix.image }} gitea.geeraert.eu/pi-ux-ce/${{ matrix.image }}
|
||||||
|
|
||||||
|
|
||||||
|
- name: Push image
|
||||||
# - name: Push image
|
run: docker push gitea.geeraert.eu/pi-ux-ce/${{ matrix.image }}
|
||||||
# run: |
|
|
||||||
# docker push gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest
|
|
||||||
# docker push gitea.tryton.geeraert.eu/pi-ux-ce/django-python:${{ env.next_version }}
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user