0.0.3 #25
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
# This is a basic workflow to help you get started with Actions | |
name: Release | |
# Controls when the workflow will run | |
on: | |
release: | |
types: [ created ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
publish-platforms: | |
runs-on: ubuntu-latest | |
# runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.CONTAINER_REGISTRY_USER }} | |
password: ${{ secrets.CONTAINER_REGISTRY_PASS }} | |
- name: Publish app | |
run: ./gradlew --stacktrace deployMultiplatform | |
env: | |
CONTAINER_REGISTRY_PREF: ${{ vars.CONTAINER_REGISTRY_PREF }} | |
CONTAINER_REGISTRY_NAME: ${{ vars.CONTAINER_REGISTRY_NAME }} | |
PROJECT_VERSION: ${{ github.event.release.tag_name }} |