add the tag and push part
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
|
||||
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:
|
||||
- act-toolcache:/opt/hostedtoolcache # this is where Runner store their cache default
|
||||
runs-on: host-runner
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
needs: setup
|
||||
runs-on: host-runner
|
||||
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:
|
||||
# Prevents all other jobs from failing immediately if one image fails
|
||||
fail-fast: false
|
||||
@@ -46,19 +46,16 @@ jobs:
|
||||
- name: Login to gitea
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.tryton.geeraert.eu
|
||||
registry: gitea.geeraert.eu
|
||||
username: ${{ secrets.USERNAME_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
|
||||
# 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 }}
|
||||
|
||||
- name: Push image
|
||||
run: docker push gitea.geeraert.eu/pi-ux-ce/${{ matrix.image }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user