Skip to content

Docker Images (arti) #41

Docker Images (arti)

Docker Images (arti) #41

name: Docker Images (arti)
on:
schedule:
- cron: '30 00 * * 5'
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
ghcr_publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log-in to registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push arti
uses: docker/build-push-action@v6
env:
SOURCE_DATE_EPOCH: 0
with:
context: arti/
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ github.actor }}/arti:latest