Skip to content

Commit

Permalink
bumpbumpbump
Browse files Browse the repository at this point in the history
  • Loading branch information
havardelnan committed Nov 18, 2024
1 parent ffd5f45 commit a823449
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
# test
IMAGE_NAME: norskhelsenett/ror-cluster-agent
ROR_VERSION: v1.0.0
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.VARTOKEN }}

jobs:
bump-version:
Expand All @@ -30,8 +30,6 @@ jobs:
ROR_VERSION=$(echo $PREV_VERSION | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')
gh variable set V1VERSION --body $ROR_VERSION
echo "version bumped from $PREV_VERSION to $ROR_VERSION"
env:
GH_TOKEN: ${{ secrets.VARTOKEN }}
build-app:
runs-on: ubuntu-latest
needs: bump-version
Expand All @@ -53,7 +51,7 @@ jobs:
${{ runner.os }}-go-
- name: Build
run: |
export RORVERSION=${{ vars.V1VERSION }}
export ROR_VERSION==$(gh variable get V1VERSION)
echo $ROR_VERSION
go get ./...
mkdir -p dist/isbuilt
Expand Down

0 comments on commit a823449

Please sign in to comment.