chore: release 1.11.0 #34
Workflow file for this run
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: Build and publish images for tag | |
on: | |
push: | |
tags: | |
- '*' | |
# Required for Depot OIDC token authentication | |
permissions: | |
id-token: write | |
contents: read | |
env: | |
DEPOT_PROJECT_ID: ${{ secrets.DEPOT_PROJECT_ID }} | |
jobs: | |
publish: | |
name: Build and publish images | |
runs-on: ubuntu-latest | |
steps: | |
# See https://stackoverflow.com/questions/70312490/github-actions-runner-environment-doesnt-build-for-arm-images | |
- name: Set up QEMU to run ARM images | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Depot | |
uses: depot/setup-action@v1 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Publish images | |
run: make publish-images | |
- name: Build layers | |
run: make build | |
- name: Upload layers | |
uses: actions/upload-artifact@v2 | |
with: | |
name: layers | |
path: build |