diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 7fa6e49..13645dd 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -19,9 +19,10 @@ jobs: docker build . \ --cache-from registry.sikorski.cloud/rogersik/hadolint:latest \ --file Dockerfile \ - --tag registry.sikorski.cloud/rogersik/hadolint:$HADOLINT_VERSION - --tag registry.sikorski.cloud/rogersik/hadolint:"2" - --tag registry.sikorski.cloud/rogersik/hadolint:"2.12" + --build-arg HADOLINT_VERSION=$HADOLINT_VERSION \ + --tag registry.sikorski.cloud/rogersik/hadolint:$HADOLINT_VERSION \ + --tag registry.sikorski.cloud/rogersik/hadolint:"2" \ + --tag registry.sikorski.cloud/rogersik/hadolint:"2.12" \ --tag registry.sikorski.cloud/rogersik/hadolint:latest - name: Push docker image run: docker push registry.sikorski.cloud/rogersik/hadolint --all-tags \ No newline at end of file