Auth to registry
Some checks failed
Build and Push Docker Image / build (push) Failing after 1s
Build and Push Docker Image / cleanup (push) Has been skipped

This commit is contained in:
Florian Hoss 2024-10-31 08:28:48 +01:00
parent e7eea8e7b8
commit f420e5cc97
Signed by: flohoss
GPG key ID: 3F35C7F6E6F66F6B

View file

@ -6,12 +6,14 @@ on:
- main
env:
LATEST_IMAGE: ${{ github.server_url }}/${{ github.repository }}:latest
REGISTRY: git.unjx.de
LATEST_IMAGE: ${{ env.REGISTRY }}/${{ github.repository }}:latest
jobs:
build:
runs-on: self-hosted
steps:
- run: echo $${{ github.token }} | docker login --username flohoss --password-stdin ${{ env.REGISTRY }}
- run: |
docker build \
--build-arg V_GOLANG=${{ vars.V_GOLANG }} \