switched to gitea registry
All checks were successful
/ build (push) Successful in 7s

This commit is contained in:
Roger Sikorski 2023-07-26 07:45:47 +02:00
parent 6c63324f8a
commit b2b3ebb690
Signed by: RogerSik
GPG Key ID: 207958C85208EAC4

View File

@ -13,16 +13,16 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Pull Docker Image for caching - name: Pull Docker Image for caching
run: docker pull registry.sikorski.cloud/rogersik/hadolint:latest || exit 0 run: docker pull gitea.sikorski.cloud/rogersik/hadolint:latest || exit 0
- name: Build docker image - name: Build docker image
run: | run: |
docker build . \ docker build . \
--cache-from registry.sikorski.cloud/rogersik/hadolint:latest \ --cache-from gitea.sikorski.cloud/rogersik/hadolint:latest \
--file Dockerfile \ --file Dockerfile \
--build-arg HADOLINT_VERSION=$HADOLINT_VERSION \ --build-arg HADOLINT_VERSION=$HADOLINT_VERSION \
--tag registry.sikorski.cloud/rogersik/hadolint:$HADOLINT_VERSION \ --tag gitea.sikorski.cloud/rogersik/hadolint:$HADOLINT_VERSION \
--tag registry.sikorski.cloud/rogersik/hadolint:"2" \ --tag gitea.sikorski.cloud/rogersik/hadolint:"2" \
--tag registry.sikorski.cloud/rogersik/hadolint:"2.12" \ --tag gitea.sikorski.cloud/rogersik/hadolint:"2.12" \
--tag registry.sikorski.cloud/rogersik/hadolint:latest --tag gitea.sikorski.cloud/rogersik/hadolint:latest
- name: Push docker image - name: Push docker image
run: docker push registry.sikorski.cloud/rogersik/hadolint --all-tags run: docker push gitea.sikorski.cloud/rogersik/hadolint --all-tags