mirror of
https://github.com/aunefyren/wrapperr
synced 2024-11-10 05:34:12 +00:00
Dynamic variable docker test
This commit is contained in:
parent
773347225e
commit
4ccb843f79
2 changed files with 3 additions and 1 deletions
2
.github/workflows/docker-image-beta.yml
vendored
2
.github/workflows/docker-image-beta.yml
vendored
|
@ -40,6 +40,8 @@ jobs:
|
|||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GIT_HUB_TOKEN }}
|
||||
- name: Replace version variable
|
||||
run: sed -i 's/{{RELEASE_TAG}}/beta-${{github.event.push_id}}/g' files/config.go # Replace release variable with the name of this release
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
const wrapperr_version_parameter = "v3.2.3"
|
||||
const wrapperr_version_parameter = "{{RELEASE_TAG}}"
|
||||
const minSecretKeySize = 32
|
||||
|
||||
var config_path, _ = filepath.Abs("./config/config.json")
|
||||
|
|
Loading…
Reference in a new issue