fix: use full forgejo URL for kaniko-build action instead of github resolution
This commit is contained in:
parent
f753de6ff8
commit
7bda38260d
3 changed files with 6 additions and 6 deletions
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
echo "tag=${TAG}" >> $GITHUB_OUTPUT
|
echo "tag=${TAG}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Build and push base image via Kaniko
|
- name: Build and push base image via Kaniko
|
||||||
uses: graham/infra/.forgejo/actions/kaniko-build@main
|
uses: http://forgejo:3000/graham/infra/.forgejo/actions/kaniko-build@main
|
||||||
with:
|
with:
|
||||||
dockerfile: Dockerfile.base
|
dockerfile: Dockerfile.base
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
extra_args: "--build-arg CACHE_BUST=$(date -u +%G-W%V)"
|
extra_args: "--build-arg CACHE_BUST=$(date -u +%G-W%V)"
|
||||||
|
|
||||||
- name: Tag as latest
|
- name: Tag as latest
|
||||||
uses: graham/infra/.forgejo/actions/kaniko-build@main
|
uses: http://forgejo:3000/graham/infra/.forgejo/actions/kaniko-build@main
|
||||||
with:
|
with:
|
||||||
dockerfile: Dockerfile.base
|
dockerfile: Dockerfile.base
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ jobs:
|
||||||
cargo test --release
|
cargo test --release
|
||||||
|
|
||||||
- name: Build and push via Kaniko
|
- name: Build and push via Kaniko
|
||||||
uses: graham/infra/.forgejo/actions/kaniko-build@main
|
uses: http://forgejo:3000/graham/infra/.forgejo/actions/kaniko-build@main
|
||||||
with:
|
with:
|
||||||
context: rust/prop_grid_rs
|
context: rust/prop_grid_rs
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
tag: ${{ steps.tag.outputs.tag }}
|
tag: ${{ steps.tag.outputs.tag }}
|
||||||
|
|
||||||
- name: Tag as latest and main
|
- name: Tag as latest and main
|
||||||
uses: graham/infra/.forgejo/actions/kaniko-build@main
|
uses: http://forgejo:3000/graham/infra/.forgejo/actions/kaniko-build@main
|
||||||
with:
|
with:
|
||||||
context: rust/prop_grid_rs
|
context: rust/prop_grid_rs
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
|
|
|
||||||
|
|
@ -46,14 +46,14 @@ jobs:
|
||||||
mix compile --warnings-as-errors'
|
mix compile --warnings-as-errors'
|
||||||
|
|
||||||
- name: Build and Push via Kaniko
|
- name: Build and Push via Kaniko
|
||||||
uses: graham/infra/.forgejo/actions/kaniko-build@main
|
uses: http://forgejo:3000/graham/infra/.forgejo/actions/kaniko-build@main
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tag: ${{ steps.tag.outputs.tag }}
|
tag: ${{ steps.tag.outputs.tag }}
|
||||||
|
|
||||||
- name: Tag as latest
|
- name: Tag as latest
|
||||||
uses: graham/infra/.forgejo/actions/kaniko-build@main
|
uses: http://forgejo:3000/graham/infra/.forgejo/actions/kaniko-build@main
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue