Skip to content

Commit a381b43

Browse files
committed
fix: ci tests
1 parent a959aee commit a381b43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ jobs:
8686
8787
- name: Build docker image
8888
run: |
89-
docker build -t us-east1-docker.pkg.dev/airport-ci-service/airport-ci-service/python-airport-test-server:latest .
90-
docker push us-east1-docker.pkg.dev/airport-ci-service/airport-ci-service/python-airport-test-server:latest
89+
IMAGE_NAME="us-east1-docker.pkg.dev/airport-ci-service/airport-ci-service/python-airport-test-server"
90+
docker build -t $IMAGE_NAME:latest -t $IMAGE_NAME:${{ github.sha }} .
91+
docker push $IMAGE_NAME:latest
92+
docker push $IMAGE_NAME:${{ github.sha }}
9193
9294

0 commit comments

Comments
 (0)