v2.5.1 #28
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: deploy | |
on: | |
release: | |
types: [released] | |
jobs: | |
deploy_docker_jvm: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and Push JVM Docker images | |
run: | | |
make push-jvm | |
env: | |
GIT_TAG: ${{ github.ref }} | |
deploy_docker_native: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and Push Native Docker images | |
run: | | |
make push-native | |
env: | |
GIT_TAG: ${{ github.ref }} | |
all: | |
name: Pushed All | |
if: always() | |
needs: [ deploy_docker_native, deploy_docker_jvm ] | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Validate required tests | |
uses: re-actors/alls-green@release/v1 | |
with: | |
jobs: ${{ toJSON(needs) }} |