From cf402b73105e4af6fde9561c5d20c51e777b34c5 Mon Sep 17 00:00:00 2001 From: Rouven Hi Date: Sat, 12 Nov 2022 12:16:58 +0100 Subject: [PATCH] fix(pipeline): revert pipe --- .github/workflows/build-image.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 119d16b..e5b3bf5 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -8,20 +8,10 @@ on: env: IMAGE_NAME: rouhim/this-week-in-past + IMAGE_TAG: latest jobs: - set-image_tag: - name: Set container image tag - runs-on: ubuntu-latest - steps: - - name: Set image tag global - run: | - GIT_BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}} - if [ $GIT_BRANCH = "main" ]; then export TAG=latest; else export TAG=next; fi - echo "Current branch: GIT_BRANCH=$GIT_BRANCH leads to the container image tag: $TAG" - echo "IMAGE_TAG=$TAG" >> $GITHUB_ENV - check-oci-config: name: Check Containerfile runs-on: ubuntu-latest