Skip to content

Try to get build working again #35

Try to get build working again

Try to get build working again #35

Workflow file for this run

name: Docker build
on:
push:
branches:
- devel
- main
tags:
- 'v*.*.*'
jobs:
publish:
name: Publish container images
runs-on: ubuntu-latest
steps:
- name: Retrieve code
uses: actions/checkout@v2
- name: Set Github variables
id: vars
run: ./github-vars
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: neale
password: ${{ secrets.DOCKER_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
# Currently required, because buildx doesn't support auto-push from docker
- name: Set up builder
uses: docker/setup-buildx-action@v1
id: buildx
- name: Build and push moth-devel image
uses: docker/build-push-action@v2
with:
builder: ${{ steps.buildx.outputs.name }}
target: devel-server
file: contrib/python/Containerfile
push: true
context: contrib/python/
platforms: linux/amd64
tags: |
dirtbags/moth-devel:${{ steps.vars.outputs.tag }}