Skip to content
Snippets Groups Projects
Verified Commit 9c71f0e4 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

Fix broken version checkout

parent 0de9c8fd
No related branches found
No related tags found
No related merge requests found
Pipeline #9448 passed
...@@ -2,7 +2,6 @@ image: quay.io/sheogorath/build-ah-engine ...@@ -2,7 +2,6 @@ image: quay.io/sheogorath/build-ah-engine
before_script: before_script:
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- '[ "$CI_COMMIT_BRANCH" = "$CI_DEFAULT_BRANCH" ] && export VERSION="$DOH_VERSION"'
variables: variables:
# renovate: datasource=github-tags depName=m13253/dns-over-https # renovate: datasource=github-tags depName=m13253/dns-over-https
...@@ -18,7 +17,7 @@ stages: ...@@ -18,7 +17,7 @@ stages:
build: build:
stage: build stage: build
script: script:
- podman build --pull --build-arg VERSION -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" . - podman build --pull --build-arg VERSION="v$DOH_VERSION" -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- echo "Image \"$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG\" Digest:" - echo "Image \"$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG\" Digest:"
- podman images --format "{{ .Digest }}" "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" - podman images --format "{{ .Digest }}" "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
- podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" - podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment