Skip to content

Bump ibek from 1.5.2 to 1.7.0 #57

Bump ibek from 1.5.2 to 1.7.0

Bump ibek from 1.5.2 to 1.7.0 #57

Workflow file for this run

name: Build and publish image to ghcr.io/epics-containers
on:
push:
pull_request:
jobs:
build-push-images:
# pull requests are a duplicate of a branch push if within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
permissions:
contents: read
packages: write
env:
CACHE: /tmp/.buildx-cache
strategy:
fail-fast: false
matrix:
include:
# rtems is cross compiled on ubuntu-latest
# linux is natively compiled on ubuntu-latest and macos-latest
# enable below for RTEMS
# - architecture: rtems
# os: ubuntu-latest
# platform: linux/amd64
- architecture: linux
os: ubuntu-latest
platform: linux/amd64
# enable below for MACOS native build on M1 macs
# M1 Macs are coming!: https://github.com/github/roadmap/issues/528
# - architecture: linux
# os: macos-latest-x1
# platform: linux/arm64
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup docker (missing on MacOS)
if: runner.os == 'macos'
uses: docker-practice/actions-setup-docker@fd7ecdac7caf8e2c541a48c9bcc280aae59a8461
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v1
with:
registry: ghcr.io/${{ github.repository_owner }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Build Script
env:
REGISTRY: ghcr.io
ARCH: ${{ matrix.architecture }}
PLATFORM: ${{ matrix.platform }}
REPOSITORY: ${{ github.repository }}
TAG: ${{ github.ref_name }}
PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
CACHE: ${{ env.CACHE }}
run: .github/workflows/build.sh