Skip to content

Commit

Permalink
chore: added latest tagging to pipeline action
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Jan 18, 2025
1 parent 132940a commit 3fe818f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
BASE_IMG="${{ vars.IMG_ROOT }}-base:$BASE_VERSION"
docker build --no-cache -f ./Dockerfile -t $BASE_IMG .
docker push $BASE_IMG
LATEST_IMG="${{ vars.IMG_ROOT }}-base:latest"
docker tag $BASE_IMG $LATEST_IMG
docker push $LATEST_IMG
deploy-gateway:
needs: deploy-base
Expand All @@ -50,6 +53,9 @@ jobs:
GATEWAY_IMG="${{ vars.IMG_ROOT }}-gateway:$GATEWAY_VERSION"
docker build --no-cache -f ./gateway/Dockerfile-gateway -t $GATEWAY_IMG .
docker push $GATEWAY_IMG
LATEST_IMG="${{ vars.IMG_ROOT }}-gateway:latest"
docker tag $GATEWAY_IMG $LATEST_IMG
docker push $LATEST_IMG
deploy-worker:
needs: deploy-gateway
Expand All @@ -66,3 +72,6 @@ jobs:
WORKER_IMG="${{ vars.IMG_ROOT }}-worker:$WORKER_VERSION"
docker build --no-cache -f ./worker/Dockerfile-worker -t $WORKER_IMG .
docker push $WORKER_IMG
LATEST_IMG="${{ vars.IMG_ROOT }}-worker:latest"
docker tag $WORKER_IMG $LATEST_IMG
docker push $LATEST_IMG

0 comments on commit 3fe818f

Please sign in to comment.