Skip to content

V11.0.0

V11.0.0 #11

Workflow file for this run

name: Release workflow
on:
release:
types:
- published
jobs:
docker-image:
name: "Build docker image"
runs-on: ubuntu-latest
environment:
name: "release"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up qemu
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Set up docker buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
version: latest
- name: Login to docker registry
run: |
docker login --username ${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_TOKEN }}
- name: Run buildx
run: |
docker buildx build \
--tag faucet/python3:${{ github.event.release.tag_name }} \
--tag faucet/python3:latest \
--platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x \
--output "type=registry" \
--file Dockerfile \
.