diff --git a/.github/workflows/docker-image-beta.yml b/.github/workflows/docker-image-beta.yml index 93c4109..2ca8a41 100644 --- a/.github/workflows/docker-image-beta.yml +++ b/.github/workflows/docker-image-beta.yml @@ -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: diff --git a/files/config.go b/files/config.go index 8676000..e00033e 100644 --- a/files/config.go +++ b/files/config.go @@ -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")