mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-20 16:54:25 +00:00
Pass version when pushing Docker images
This commit is contained in:
parent
30d104ee98
commit
dc151f6a0b
2 changed files with 3 additions and 1 deletions
3
.github/workflows/docker_publish_stable.yml
vendored
3
.github/workflows/docker_publish_stable.yml
vendored
|
|
@ -23,6 +23,7 @@ jobs:
|
|||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
add_git_labels: true
|
||||
tags: latest,${{ env.TAG }}
|
||||
build_args: VERSION=$(./scripts/version.sh)
|
||||
|
||||
registry: docker.pkg.github.com
|
||||
repository: ${{ github.REPOSITORY }}/cloud-game
|
||||
|
|
@ -30,7 +31,7 @@ jobs:
|
|||
- name: Install SSH Key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
known_hosts: 'PLACEHOLDER'
|
||||
|
||||
- name: Redeploy all instances
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ jobs:
|
|||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
add_git_labels: true
|
||||
tags: dev
|
||||
build_args: VERSION=$(./scripts/version.sh)
|
||||
|
||||
registry: docker.pkg.github.com
|
||||
repository: ${{ github.REPOSITORY }}/cloud-game
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue