.gitea/workflows/build_push_gitea.yml aktualisiert

This commit is contained in:
Marko Oldenburg 2024-10-30 04:59:10 +00:00
parent 60662efaea
commit daac10b2a6

View File

@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
REGISTRY: git.cooltux.net REGISTRY: git.cooltux.net
REGISTRY_INTERN: registry.tuxnet.lan
IMAGE: web/dokuwiki IMAGE: web/dokuwiki
DOCKER_ORG: ${{ secrets.DOCKER_USERNAME }} DOCKER_ORG: ${{ secrets.DOCKER_USERNAME }}
steps: steps:
@ -28,6 +29,9 @@ jobs:
[registry."git.cooltux.net"] [registry."git.cooltux.net"]
http = false http = false
insecure = false insecure = false
[registry."registry.tuxnet.lan"]
http = true
insecure = true
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v2 uses: docker/login-action@v2
@ -58,3 +62,4 @@ jobs:
push: true push: true
tags: | tags: |
${{ env.REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.get_version.outputs.tag }} ${{ env.REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.get_version.outputs.tag }}
${{ env.REGISTRY_INTERN }}/${{ env.IMAGE }}:${{ steps.get_version.outputs.tag }}