Skip to content

Commit

Permalink
ci: 버전등록을 pr 제목에맞게 수정한다
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed Apr 11, 2024
1 parent 1b350b3 commit ccb5c78
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- 'release'
pull_request:
branches:
- 'release'

jobs:
build:
Expand Down Expand Up @@ -63,7 +60,7 @@ jobs:
platforms: linux/arm64/v8
push: true
tags: |
ghcr.io/devxb/gitanimals:0.0.2
ghcr.io/devxb/gitanimals:${{ steps.extract_version_name.outputs.version }}
build-args: |
"DB_URL=${{ secrets.DB_URL }}"
"DB_USERNAME=${{ secrets.DB_USERNAME }}"
Expand Down Expand Up @@ -93,4 +90,4 @@ jobs:
run: |
sudo docker pull ghcr.io/devxb/gitanimals:${{ steps.extract_version_name.outputs.version }}
sudo docker ps -q --filter "expose=8080" | xargs sudo docker stop | xargs sudo docker rm
sudo docker run -d -p ghcr.io/devxb/gitanimals:${{ steps.extract_version_name.outputs.version }}
sudo docker run -d -p 8080:8080 ghcr.io/devxb/gitanimals:${{ steps.extract_version_name.outputs.version }}

0 comments on commit ccb5c78

Please sign in to comment.