chore: clean up
This commit is contained in:
parent
e8943075c7
commit
fdbb943308
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -11,13 +11,11 @@ env:
|
||||||
DEPLOY_HOST: 49.0.91.80
|
DEPLOY_HOST: 49.0.91.80
|
||||||
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-log-backup
|
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-log-backup
|
||||||
jobs:
|
jobs:
|
||||||
# act workflow_dispatch -W .github/workflows/release.yaml --input IMAGE_VER=test-v1 -s DOCKER_USER=sorawit -s DOCKER_PASS=P@ssword -s SSH_PASSWORD=P@ssw0rd
|
|
||||||
release-test:
|
release-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# skip Set up QEMU because it fail on act and container
|
|
||||||
# Gen Version try to get version from tag or inut
|
|
||||||
- name: Set output tags
|
- name: Set output tags
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
|
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
|
||||||
|
|
@ -70,6 +68,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
access_token: ${{ secrets.TOKEN_LINE }}
|
access_token: ${{ secrets.TOKEN_LINE }}
|
||||||
message: |
|
message: |
|
||||||
|
|
||||||
Status: ✅
|
Status: ✅
|
||||||
Image: ${{ env.IMAGE_NAME }}
|
Image: ${{ env.IMAGE_NAME }}
|
||||||
Version: ${{ steps.gen_ver.outputs.IMAGE_VER }}
|
Version: ${{ steps.gen_ver.outputs.IMAGE_VER }}
|
||||||
|
|
@ -79,6 +78,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
access_token: ${{ secrets.TOKEN_LINE }}
|
access_token: ${{ secrets.TOKEN_LINE }}
|
||||||
message: |
|
message: |
|
||||||
|
|
||||||
Status: ❌
|
Status: ❌
|
||||||
Image: ${{ env.IMAGE_NAME }}
|
Image: ${{ env.IMAGE_NAME }}
|
||||||
Version: ${{ steps.gen_ver.outputs.IMAGE_VER }}
|
Version: ${{ steps.gen_ver.outputs.IMAGE_VER }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue