Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JacqJingyuH authored Nov 21, 2023
1 parent e77c7db commit ffd97f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker Image CI
name: Docker Image CI/CD

on:
push:
Expand All @@ -9,7 +9,7 @@ env:

jobs:

build:
build-and-push-images:

runs-on: ubuntu-latest

Expand All @@ -25,10 +25,10 @@ jobs:
run: |
IMAGE_ID_API=ghcr.io/project-24-ontario-parks-T/$IMAGE_NAME_API
echo IMAGE_ID_API=$IMAGE_ID_API
docker tag $IMAGE_NAME $IMAGE_ID_API:latest
docker tag $IMAGE_NAME_API $IMAGE_ID_API:latest
docker push $IMAGE_ID_API:latest
IMAGE_ID_FRONTEND=ghcr.io/project-24-ontario-parks-T/$IMAGE_NAME_FRONTEND
echo IMAGE_ID_FRONTEND=$IMAGE_ID_FRONTEND
docker tag $IMAGE_NAME $IMAGE_ID_FRONTEND:latest
docker tag $IMAGE_NAME_FRONTEND $IMAGE_ID_FRONTEND:latest
docker push $IMAGE_ID_FRONTEND:latest

0 comments on commit ffd97f6

Please sign in to comment.