Skip to content

Commit

Permalink
Use github.sha due to actions/runner#2417
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanemahuta committed May 31, 2023
1 parent 8191455 commit ec8612c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
tags: ["v*.*.*"]
pull_request:
branches: ["main"]
env:
REGISTRY: ghcr.io
IMAGE_NAME: tanemahuta/aws-lambda-server
jobs:
lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -137,7 +134,7 @@ jobs:
load: true
push: false
build-args: VERSION=${{ github.ref_name }}
tags: aws-lambda-server:${{ github.job_workflow_sha }}
tags: aws-lambda-server:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
# Test helm chart
Expand Down Expand Up @@ -165,11 +162,11 @@ jobs:
if: steps.list-changed.outputs.changed == 'true'
timeout-minutes: 2
run: |
kind load docker-image aws-lambda-server:${{ github.job_workflow_sha }}
kind load docker-image aws-lambda-server:${{ github.sha }}
ct install\
--target-branch ${{ github.event.repository.default_branch }}\
--helm-extra-set-args "
--set-string=deployment.image.tag=${{ github.job_workflow_sha }} \
--set-string=deployment.image.repository=test"\
--set-string=deployment.image.tag=${{ github.sha }} \
--set-string=deployment.image.repository=aws-lambda-server"\
--debug

0 comments on commit ec8612c

Please sign in to comment.