FIX ci GIT_TAG env setting
@@ -94,9 +94,9 @@ jobs:
- name: Log into DigitalOcean container registry
run: doctl registry login
- name: Build container image
- run: env GIT_TAG=$$(git log -1 --pretty=%h) docker compose build api
+ run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose build api
- name: Push image to registry
- run: env GIT_TAG=$$(git log -1 --pretty=%h) docker compose push api
+ run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose push api
build-web:
name: Build web
needs: [test-web]
@@ -111,9 +111,9 @@ jobs:
- name: Log into DigitalOcean container registry
run: doctl registry login
- name: Build container image
- run: env GIT_TAG=$$(git log -1 --pretty=%h) docker compose build web
+ run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose build web
- name: Push image to registry
- run: env GIT_TAG=$$(git log -1 --pretty=%h) docker compose push web
+ run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose push web
build-theia-images:
name: Build theia-images (non-ide)
runs-on: ubuntu-latest
@@ -133,9 +133,9 @@ jobs:
- name: Log into DigitalOcean container registry
run: doctl registry login
- name: Build container image
- run: env GIT_TAG=$$(git log -1 --pretty=%h) docker compose build ${{ matrix.image }}
+ run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose build ${{ matrix.image }}
- name: Push image to registry
- run: env GIT_TAG=$$(git log -1 --pretty=%h) docker compose push ${{ matrix.image }}
+ run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose push ${{ matrix.image }}
# Deploy step.
# Will push out yaml to the k8s cluster, then restart
