Skip to content

Add missing apt update statement for libexpat1 workaround #83

Add missing apt update statement for libexpat1 workaround

Add missing apt update statement for libexpat1 workaround #83

Workflow file for this run

name: Build chaste/base
on:
push:
branches: [ "master" ]
tags: "v*"
pull_request:
branches: [ "master" ]
schedule:
- cron: "0 0 * * 0"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# https://github.com/actions/checkout/
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
# https://github.com/docker/metadata-action
with:
images: |
chaste/base
flavor: latest=true
tags: |
type=schedule,pattern={{date 'YYYYMMDD'}}
# type=ref,event=branch
# type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
labels: |
org.opencontainers.image.title=Chaste Base Image
org.opencontainers.image.description=Docker Base Image for Chaste: Cancer, Heart and Soft Tissue Environment
org.opencontainers.image.url=https://hub.docker.com/repository/docker/chaste/base/general
org.opencontainers.image.source=https://github.com/Chaste/chaste-docker
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# https://github.com/docker/setup-qemu-action
with:
platforms: 'amd64,arm64'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# https://github.com/docker/setup-buildx-action
- name: Login to DockerHub
uses: docker/login-action@v3
# https://github.com/docker/login-action
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push the Docker image
uses: docker/build-push-action@v5
# https://github.com/docker/build-push-action
with:
context: .
platforms: 'amd64,arm64'
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
target: base