v0.2.1 #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
release-amd64: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: | | |
${{ github.repository }} | |
# generate Docker tags based on the following events/attributes | |
tags: | | |
type=semver,pattern={{version}} | |
# always generate latest tag on push | |
flavor: | | |
latest=true | |
- name: Build and push to DockerHub (amd64) | |
id: docker_build_amd64 | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
# Using QEMU emulator to build ARM64 leads to FEXBash execution issues. | |
# Waiting for GitHub to provide ARM64 architecture support for workflows. | |
# For now, manual build and release of arm64 versions is required. | |
# | |
# release-arm64: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v4 | |
# | |
# - name: Login to DockerHub | |
# uses: docker/login-action@v3 | |
# with: | |
# username: ${{ secrets.DOCKER_USERNAME }} | |
# password: ${{ secrets.DOCKER_PASSWORD }} | |
# | |
# - name: Docker meta | |
# id: meta | |
# uses: docker/metadata-action@v3 | |
# with: | |
# images: | | |
# ${{ github.repository }} | |
# # generate Docker tags based on the following events/attributes | |
# tags: | | |
# type=semver,pattern={{version}} | |
# # always generate latest tag on push | |
# flavor: | | |
# latest=true | |
# | |
# - name: Set up QEMU | |
# uses: docker/setup-qemu-action@v3 | |
# | |
# - name: Build and push to DockerHub (arm64) | |
# id: docker_build_arm64 | |
# uses: docker/build-push-action@v5 | |
# with: | |
# push: true | |
# tags: ${{ steps.meta.outputs.tags }} | |
# file: ./Dockerfile_arm64 | |
# platforms: linux/arm64 |