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:
|
||||
runs-on: docker
|
||||
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:
|
||||
forgejo: "${{ env.GITHUB_SERVER_URL }}"
|
||||
owner: "${{ env.GITHUB_REPOSITORY_OWNER }}"
|
||||
repository: "${{ env.GITHUB_REPOSITORY/`${{ env.GITHUB_REPOSITORY_OWNER }}/'' }}"
|
||||
doer: "seang96"
|
||||
release-version: "${{ env.GITHUB_REF }}"
|
||||
token: "${{ secrets.token }}"
|
||||
platforms: 'amd64'
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Container Registry
|
||||
uses: docker/login-action@v3
|
||||
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
|
||||
override: 'true'
|
||||
push: true
|
||||
tags: git.spgrn.com/${{ env.GITHUB_REPOSITORY }}:dev
|
||||
|
|
Loading…
Reference in a new issue