ci: lets attempt dynamic registry url
Some checks failed
Build and Deploy / build-server (push) Successful in 27s
Build and Deploy / dependency-track (push) Successful in 29s
Build and Deploy / build-push-server-container (push) Failing after 28s
Build and Deploy / dependency-track-container (push) Has been skipped
Build and Deploy / sonarqube (push) Successful in 1m17s

This commit is contained in:
Timothy Schenk 2023-11-03 14:55:37 +01:00
parent 137bc0dac1
commit cb0732dd1c

View file

@ -96,7 +96,7 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: forge.rainote.dev
registry: ${{ github.server_url }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
@ -105,7 +105,7 @@ jobs:
context: .
file: Server/Dockerfile
push: true
tags: forge.rainote.dev/Wonderking/Continuity:latest,forge.rainote.dev/Wonderking/Continuity:${{ github.ref_name }}
tags: ${{ github.server_url }}/${{ github.repository }}:latest,${{ github.server_url }}/${{ github.repository }}:${{ github.ref_name }}
platforms: linux/amd64
dependency-track-container:
needs: build-push-server-container