Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Apr 8, 2024
1 parent b32dcb1 commit c8d1cb1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
secrets: |
kv/data/cicd/github api_token | GITHUB_API_TOKEN
- name: Docker Login
run: docker login ghcr.io -u ${{ github.repository_owner }} -p ${{ secrets.GITHUB_API_TOKEN }}
run: docker login ghcr.io -u ${{ github.repository_owner }} -p ${GITHUB_API_TOKEN}
- name: Install Pack
uses: buildpacks/github-actions/[email protected]
- name: Install GraalVM
Expand Down Expand Up @@ -58,4 +58,8 @@ jobs:
cat <<EOF > pack/Procfile
web: ./ssr-react-spring-boot-graalvm-js
EOF
pack build ghcr.io/${{ github.repository_owner }}/ssr-react-spring-boot-graalvm-js --gid 1000 --publish --builder paketobuildpacks/builder-jammy-tiny --path pack
pack build ghcr.io/${{ github.repository_owner }}/ssr-react-spring-boot-graalvm-js --gid 1000 --publish --builder paketobuildpacks/builder-jammy-tiny --path pack
- name: Revoke token
if: always()
run: |
curl -X POST -s -H "X-Vault-Token: ${VAULT_TOKEN}" ${{ secrets.VAULT_ADDR }}/v1/auth/token/revoke-self

0 comments on commit c8d1cb1

Please sign in to comment.