Skip to content

Merge pull request #49 from neutronth/chore/bump-image-version-to-0.13 #17

Merge pull request #49 from neutronth/chore/bump-image-version-to-0.13

Merge pull request #49 from neutronth/chore/bump-image-version-to-0.13 #17

Workflow file for this run

name: Publish
on:
push:
tags:
- "*"
jobs:
ci:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt:latest
platforms: all
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set variables output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- uses: earthly/actions/setup-earthly@v1
with:
version: v0.7.6
- name: run integration test
run: earthly --ci --verbose --allow-privileged +integration-image-test
- name: login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and publish image linux/amd64 and linux/arm64 platforms
run: earthly --ci --verbose --push +image-all-platforms --IMAGE_TAG=${{ steps.vars.outputs.tag }}