Skip to content

Commit

Permalink
fix: trying to solve secrets
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Oct 25, 2024
1 parent 86565dd commit 69bbd95
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: tests

on:
pull_request:
pull_request_target:
branches: [ '*' ]
push:
branches:
Expand All @@ -28,8 +28,10 @@ jobs:
with:
go-version-file: ./go.mod
cache: false
- run: |
export LINODE_TOKEN=${{ secrets.LINODE_TOKEN }}
- env:
LINODE_TOKEN: ${{ secrets.LINODE_TOKEN }}
run: |
export LINODE_TOKEN=${LINODE_TOKEN:?Token not set or empty}
make \
test-integration
Expand All @@ -41,11 +43,13 @@ jobs:
with:
go-version-file: ./go.mod
cache: false
- run: |
export LINODE_TOKEN=${{ secrets.LINODE_TOKEN }}
- env:
LINODE_TOKEN: ${{ secrets.LINODE_TOKEN }}
run: |
export LINODE_TOKEN=${LINODE_TOKEN:?Token not set or empty}
make \
IMG=localhost:5005/linode-cosi-driver \
TAG=e2e-${{ github.ref_name }} \
TAG=e2e \
cluster \
docker-build docker-push \
deploy-deps deploy
Expand Down

0 comments on commit 69bbd95

Please sign in to comment.