Skip to content

feat: multi-platform image publishing #4

feat: multi-platform image publishing

feat: multi-platform image publishing #4

Workflow file for this run

name: Kubernetes Dashboard (GA)
on:
push:
tags:
- 'v*'
jobs:
publish-release-image:
name: Publish YAKD Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: Setup Java 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Package
run: |
mvn -Pbuild-frontend clean package
- name: Docker Hub Login
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Build and Push
run: |
docker buildx build \
--push \
-f src/main/docker/Dockerfile.build \
--tag marcnuri/yakd:${GITHUB_REF#refs/tags/v} \
--platform linux/amd64,linux/arm64 \
.