try variable properly

This commit is contained in:
Jamil Bou Kheir
2020-04-23 22:19:50 -07:00
parent 9d8a1550d2
commit fa80d3b312

View File

@@ -44,13 +44,11 @@ jobs:
# 2. Build and Push App Image
build-app-image:
needs: unit-integration-test
env:
TEST_IMAGE: docker.pkg.github.com/CloudFire-LLC/cloudfire-ce/cloudfire:${GITHUB_SHA::8}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Build Docker Image
run: docker build -t $TEST_IMAGE -f Dockerfile .
run: docker build -t docker.pkg.github.com/CloudFire-LLC/cloudfire-ce/cloudfire:${GITHUB_SHA::8} -f Dockerfile .
- name: Push Docker Image
run: docker push $TEST_IMAGE
@@ -58,7 +56,7 @@ jobs:
docker-compose-up:
needs: build-app-image
env:
TEST_IMAGE: docker.pkg.github.com/CloudFire-LLC/cloudfire-ce/cloudfire:${GITHUB_SHA::8}
TEST_IMAGE: "docker.pkg.github.com/CloudFire-LLC/cloudfire-ce/cloudfire:${GITHUB_SHA::8}"
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2