Skip to content

refactor: custom resources use ResourceListV2 (#100) #165

refactor: custom resources use ResourceListV2 (#100)

refactor: custom resources use ResourceListV2 (#100) #165

name: Kubernetes Dashboard (SNAPSHOTS)
on:
push:
branches:
- main
jobs:
publish-snapshot-image:
name: Publish YAKD Snapshot
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 \
--build-arg VERSION=snapshot \
-f src/main/docker/Dockerfile.build \
--tag marcnuri/yakd:snapshot \
--platform linux/amd64,linux/arm64 \
.