parent
ee56ec87f2
commit
fecdf7e8f9
1 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,12 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: cicd
|
runs-on: cicd
|
||||||
steps:
|
steps:
|
||||||
|
- name: Prepare
|
||||||
|
id: prep
|
||||||
|
run: |
|
||||||
|
registry="${{ env.GITHUB_SERVER_URL }}"
|
||||||
|
echo "registry=${registry#*://}" | tee "${GITHUB_OUTPUT}"
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
@ -22,7 +28,7 @@ jobs:
|
||||||
- name: Push
|
- name: Push
|
||||||
uses: 'https://github.com/redhat-actions/push-to-registry@v2'
|
uses: 'https://github.com/redhat-actions/push-to-registry@v2'
|
||||||
with:
|
with:
|
||||||
registry: code.porucha.net
|
registry: ${{ steps.prep.outputs.registry }}
|
||||||
image: ${{ steps.build.outputs.image }}
|
image: ${{ steps.build.outputs.image }}
|
||||||
tags: ${{ steps.build.outputs.tags }}
|
tags: ${{ steps.build.outputs.tags }}
|
||||||
username: ${{ vars.FORGEJO_USERNAME }}
|
username: ${{ vars.FORGEJO_USERNAME }}
|
||||||
|
|
Loading…
Reference in a new issue