Update build_image.yml
This commit is contained in:
parent
e325b1ae4a
commit
cbc39eb342
|
|
@ -9,6 +9,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Clone forgejo
|
||||||
|
run: |
|
||||||
|
git clone --depth=1 --single-branch https://codeberg.org/forgejo/forgejo.git .
|
||||||
|
ls && pwd
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
|
|
@ -21,16 +26,11 @@ jobs:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Clone forgejo
|
|
||||||
run: |
|
|
||||||
git clone --depth=1 --single-branch https://codeberg.org/forgejo/forgejo.git .
|
|
||||||
ls && pwd
|
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
#working-directory: forgejo
|
#working-directory: forgejo
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: boxinaclosedbox/forgejo_latest:latest-rootless
|
tags: boxinaclosedbox/forgejo_latest:latest-rootless
|
||||||
file: /home/runner/work/forgejo_latest/forgejo_latest/forgejo/Dockerfile.rootless
|
file: Dockerfile.rootless
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue