Skip to content

base-ci

base-ci #168

Workflow file for this run

name: "base-ci"
on:
schedule:
- cron: "0 0 * * *" # 00:00 UTC Everyday
workflow_dispatch:
jobs:
base-ci:
runs-on: ubuntu-latest
steps:
- name: "[preparation] checkout"
uses: actions/[email protected]
- name: "[preparation] set up qemu"
uses: docker/[email protected]
- name: "[preparation] set up docker context for buildx"
run: docker context create builders
- name: "[preparation] set up docker buildx"
uses: docker/[email protected]
with:
endpoint: builders
driver-opts: image=moby/buildkit:v0.16.0
platforms: linux/amd64,linux/arm64,linux/arm,linux/ppc64le
- name: "[preparation] docker login"
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and push
uses: docker/[email protected]
with:
context: base/
tags: portainer/base:latest
platforms: linux/amd64,linux/arm64,linux/arm,linux/ppc64le
sbom: true
provenance: true
push: true