try on native s390x
This commit is contained in:
parent
4ec2850e53
commit
7c9171430d
1 changed files with 1 additions and 2 deletions
44
.forgejo/workflows/build.yaml
Normal file
44
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,44 @@
|
|||
name: Build and Push container
|
||||
run-name: Build and Push container
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '[0-9]+.[0-9]+.[0-9]+'
|
||||
|
||||
env:
|
||||
IMAGE: git.kvant.cloud/phoenix/metricbeat-hpc
|
||||
VERSION: ${{ github.ref_name }}
|
||||
|
||||
jobs:
|
||||
build_besu:
|
||||
runs-on: linux-s390x
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to gitea registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.kvant.cloud
|
||||
username: ${{ vars.PHOENIX_PACKAGE_WRITER_USERNAME }}
|
||||
password: ${{ secrets.PHOENIX_PACKAGE_WRITER_TOKEN }}
|
||||
|
||||
- name: Build and push to gitea registry
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
context: .
|
||||
build-args: |
|
||||
VERSION=${{ env.VERSION }}
|
||||
image: ${{ env.IMAGE }}
|
||||
cache-from: |
|
||||
type=registry,ref=${{ env.IMAGE }}:${{ env.VERSION }}
|
||||
type=registry,ref=${{ env.IMAGE }}:latest
|
||||
cache-to: type=inline
|
||||
tags: |
|
||||
${{ env.IMAGE }}:${{ env.VERSION }}
|
||||
${{ env.IMAGE }}:latest
|
Loading…
Add table
Add a link
Reference in a new issue