Docker-arti #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker-arti | |
# currently this is failing to run under the github action workers, seemingly due to memory constraints on building the package. | |
# i believe the above has been addressed | |
on: | |
schedule: | |
- cron: '20 16 * * 5' | |
workflow_dispatch: | |
env: | |
REGISTRY: ghcr.io | |
jobs: | |
ghcr_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Log-in to registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push arti | |
uses: docker/build-push-action@v3 | |
with: | |
context: arti/ | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
tags: ${{ env.REGISTRY }}/${{ github.actor }}/arti:latest |