Skip to content

latest-build

latest-build #28

Workflow file for this run

name: latest-build
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run a one-line script
run: make test
macos:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: install golang
shell: bash
run: brew install go
- name: Run a one-line script
shell: bash
run: make test
build:
runs-on: ubuntu-22.04
needs: [linux, macos]
steps:
- uses: actions/checkout@v4
with:
ref: 's'
- name: install qemu-user-static
run: |
sudo apt-get update
sudo apt-get install qemu-user-static
- name: Login to Registry
uses: redhat-actions/[email protected]
with:
registry: quay.io
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: use buildah to build images for amd and aarch64
uses: redhat-actions/buildah-build@v2
id: build_image
with:
image: quay.io/ramalama/ramalama
tags: latest
containerfiles: |
container-images/ramalama/latest/Containerfile
platforms: linux/amd64, linux/arm64
- name: push images to registry
uses: redhat-actions/[email protected]
with:
image: ramalama/ramalama
tags: latest
registry: quay.io