Skip to content

Commit

Permalink
fix(#219): Update Docker Dev Image release tag format in docker-ci-de…
Browse files Browse the repository at this point in the history
…v.yml
  • Loading branch information
ImKunYoung committed Sep 22, 2023
1 parent 8e98eb5 commit f4cd4dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-ci-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- dev
- ci/docker-ci-pipeline

jobs:
build-and-push:
Expand Down Expand Up @@ -32,8 +31,8 @@ jobs:
run: |
RELEASE_NAME="${{ steps.release_name.outputs.release_name }}"
docker build --build-arg SPRING_PROFILES_ACTIVE=dev -t my-product-server:latest -f multistage.Dockerfile .
docker tag my-product-server:latest ghcr.io/liberty52/liberty52-product-server:dev-v$RELEASE_NAME
docker push ghcr.io/liberty52/liberty52-product-server:dev-v$RELEASE_NAME
docker tag my-product-server:latest ghcr.io/liberty52/liberty52-product-server:dev$RELEASE_NAME
docker push ghcr.io/liberty52/liberty52-product-server:dev$RELEASE_NAME
- name: Create GitHub Release
uses: actions/create-release@v1
Expand Down

0 comments on commit f4cd4dc

Please sign in to comment.