Skip to content
Snippets Groups Projects
Commit 3079b0f6 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Remove unnecessary tag, update comments

parent 20e65286
No related branches found
No related tags found
No related merge requests found
Pipeline #111342 passed
Pipeline: shiny-k8s-example

#111344

    Pipeline: shiny-k8s-example

    #111343

      ......@@ -28,9 +28,9 @@ image: docker:24
      fi
      - apk add gettext
      - envsubst < ./Dockerfile.$LANGUAGE > Dockerfile
      # pull the latest build of the targeted versions
      # pull the latest build of the targeted version of the current branch
      - docker pull "$CI_REGISTRY_IMAGE/${LANGUAGE}/$CI_COMMIT_REF_SLUG:$VERSIONS_TAG" || true
      # pull the latest build of the target R version in order to re-use it for the targeted SHINY_SERVER_VERSION
      # pull the latest build of the target version of the main branch
      - docker pull "$CI_REGISTRY_IMAGE/${LANGUAGE}:$VERSIONS_TAG" || true
      # pull the latest build of this branch
      - docker pull "$CI_REGISTRY_IMAGE/${LANGUAGE}/$CI_COMMIT_REF_SLUG:latest" || true
      ......@@ -41,7 +41,6 @@ image: docker:24
      --build-arg SHINY_SERVER_VERSION
      --cache-from "$CI_REGISTRY_IMAGE/${LANGUAGE}/$CI_COMMIT_REF_SLUG:$VERSIONS_TAG"
      --cache-from "$CI_REGISTRY_IMAGE/${LANGUAGE}:$VERSIONS_TAG"
      --tag "$CI_REGISTRY_IMAGE/${LANGUAGE}/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA"
      --tag "$CI_REGISTRY_IMAGE/${LANGUAGE}/$CI_COMMIT_REF_SLUG:latest"
      --tag "$CI_REGISTRY_IMAGE/${LANGUAGE}:$VERSIONS_TAG"
      --tag "$CI_REGISTRY_IMAGE/${LANGUAGE}/$CI_COMMIT_REF_SLUG:$VERSIONS_TAG"
      ......@@ -50,8 +49,6 @@ image: docker:24
      ./
      # push image as latest for the current branch
      - docker push "$CI_REGISTRY_IMAGE/${LANGUAGE}/$CI_COMMIT_REF_SLUG:latest"
      # push image tagged with its sha
      - docker push "$CI_REGISTRY_IMAGE/${LANGUAGE}/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA"
      # push image tagged with its versions
      - docker push "$CI_REGISTRY_IMAGE/${LANGUAGE}/$CI_COMMIT_REF_SLUG:$VERSIONS_TAG"
      # push image tagged with its versions and the commit sha (debug purpose)
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment