This commit is contained in:
parent
e4b32da599
commit
b744439e49
1 changed files with 20 additions and 8 deletions
|
@ -6,13 +6,25 @@ jobs:
|
||||||
publish_package:
|
publish_package:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/forgejo/forgejo-build-publish/build@v1
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
with:
|
with:
|
||||||
forgejo: "${{ env.GITHUB_SERVER_URL }}"
|
platforms: 'amd64'
|
||||||
owner: "${{ env.GITHUB_REPOSITORY_OWNER }}"
|
- name: Set up Docker Buildx
|
||||||
repository: "${{ env.GITHUB_REPOSITORY/`${{ env.GITHUB_REPOSITORY_OWNER }}/'' }}"
|
uses: docker/setup-buildx-action@v3
|
||||||
doer: "seang96"
|
- name: Login to Container Registry
|
||||||
release-version: "${{ env.GITHUB_REF }}"
|
uses: docker/login-action@v3
|
||||||
token: "${{ secrets.token }}"
|
with:
|
||||||
|
registry: git.spgrn.com
|
||||||
|
username: seang96
|
||||||
|
password: ${{ secrets.token}}
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
override: 'true'
|
push: true
|
||||||
|
tags: git.spgrn.com/${{ env.GITHUB_REPOSITORY }}:dev
|
||||||
|
|
Loading…
Reference in a new issue