Skip to content

Merge pull request #27 from pfeiferj/namespace-images #11

Merge pull request #27 from pfeiferj/namespace-images

Merge pull request #27 from pfeiferj/namespace-images #11

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
steps:
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt:latest
platforms: all
- name: Install Earthly
uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: "latest" # or pin to an specific version, e.g. "0.7.1"
- name: Checkout
uses: actions/checkout@v3
- name: Build Release Binary (arm64 for comma device)
run: earthly --push +build-release
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build Release Docker Images
run: earthly --push +docker-all-archs
- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/mapd
generate_release_notes: true