Add forgejo actions #486
2 changed files with 12 additions and 4 deletions
|
@ -19,7 +19,7 @@ jobs:
|
||||||
dockerfile: ./1.7/Dockerfile.prod
|
dockerfile: ./1.7/Dockerfile.prod
|
||||||
- uses: https://github.com/ludeeus/action-shellcheck@2.0.0
|
- uses: https://github.com/ludeeus/action-shellcheck@2.0.0
|
||||||
|
|
||||||
1_7:
|
grav1_7:
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -41,6 +41,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v3
|
uses: https://github.com/docker/setup-buildx-action@v3
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
|
@ -52,7 +54,7 @@ jobs:
|
||||||
context: ./1.7
|
context: ./1.7
|
||||||
file: Dockerfile
|
file: Dockerfile
|
||||||
|
|
||||||
1_7_prod:
|
grav1_7_prod:
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -75,6 +77,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v3
|
uses: https://github.com/docker/setup-buildx-action@v3
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
dockerfile: ./1.7/Dockerfile.prod
|
dockerfile: ./1.7/Dockerfile.prod
|
||||||
- uses: https://github.com/ludeeus/action-shellcheck@2.0.0
|
- uses: https://github.com/ludeeus/action-shellcheck@2.0.0
|
||||||
|
|
||||||
1_7:
|
grav1_7:
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -33,6 +33,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
determine-docker-tags
|
determine-docker-tags
|
||||||
dockerd &
|
dockerd &
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v3
|
uses: https://github.com/docker/setup-buildx-action@v3
|
||||||
- name: Test build
|
- name: Test build
|
||||||
|
@ -42,7 +44,7 @@ jobs:
|
||||||
tags: ${{ steps.tags.outputs.tags }}
|
tags: ${{ steps.tags.outputs.tags }}
|
||||||
file: ./1.7/Dockerfile
|
file: ./1.7/Dockerfile
|
||||||
|
|
||||||
1_7_prod:
|
grav1_7_prod:
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -60,6 +62,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
determine-docker-tags
|
determine-docker-tags
|
||||||
dockerd &
|
dockerd &
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v3
|
uses: https://github.com/docker/setup-buildx-action@v3
|
||||||
- name: Test build
|
- name: Test build
|
||||||
|
|
Loading…
Reference in a new issue