Skip to content

Phoenix Framework 1.7.7 #23

Phoenix Framework 1.7.7

Phoenix Framework 1.7.7 #23

Workflow file for this run

name: Build nicbet/phoenix
on:
push:
branches:
- "!*"
tags:
- "[0-9].[0-9].[0-9]"
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: checkout code
uses: actions/checkout@v2
-
name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
-
name: setup Docker buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
install: true
config-inline: |
[registry."docker.io"]
mirrors = ["ghcr.io"]
-
name: login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
-
name: build multiarch image
run: |
docker build \
--tag nicbet/phoenix:${{ github.ref_name }} \
--tag nicbet/phoenix:latest \
--platform linux/amd64 --push .