This commit is contained in:
parent
c45f0e0e0a
commit
f0c1df8644
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/build.yaml
Normal file
20
.forgejo/workflows/build.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: debian
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: setup env
|
||||||
|
run: |
|
||||||
|
. ./.env || true
|
||||||
|
REGISTRY="$(sed 's .*:// ' <<< ${{ forgejo.server_url }})"
|
||||||
|
cat <<EOF >> .env
|
||||||
|
REGISTRY="$REGISTRY"
|
||||||
|
IMAGEAPP="$REGISTRY/${{ forgejo.repository }}:${{ forgejo.ref_name }}"
|
||||||
|
EOF
|
||||||
|
cat .env
|
||||||
|
|
||||||
|
- uses: actions/buildkit@v1
|
||||||
|
with:
|
||||||
|
password: "${{ secrets.PKGRW }}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue