Skip to content

Commit

Permalink
Dynamic variable docker test
Browse files Browse the repository at this point in the history
  • Loading branch information
aunefyren committed Dec 21, 2023
1 parent 7733472 commit 4ccb843
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docker-image-beta.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion files/config.go
Expand Up @@ -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")
Expand Down

0 comments on commit 4ccb843

Please sign in to comment.