Skip to content

Framework: part of DB improvements #89

Framework: part of DB improvements

Framework: part of DB improvements #89

Workflow file for this run

name: Build and push Docker multiarch image from tag
on:
push:
tags: [ '*' ]
jobs:
docker-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: linux/amd64,linux/arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
id: buildx
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
tags: getcarrier/pylon:${{ github.ref_name }}
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64
push: true
- name: Build and push Alpine
uses: docker/build-push-action@v4
with:
tags: getcarrier/pylon:${{ github.ref_name }}-alpine
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64
push: true
file: Dockerfile.alpine