deployment of version 5.2.11 #15
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: Standalone-Triggered-By-Tag-Push | |
on: | |
push: | |
tags: | |
- ORA-* | |
jobs: | |
docker: | |
if: ${{ github.repository == 'OpenRoberta/openroberta-lab' }} | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout the branch | |
uses: actions/checkout@v3 | |
with: | |
ref: master | |
- name: Set up QEMU for multi architecture build | |
uses: docker/setup-qemu-action@master | |
with: | |
platforms: linux/amd64 | |
- name: Set up docker buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Get tag name | |
id: getTagName | |
# Parse version number without ORA prefix | |
run: | | |
echo ::set-output name=tag::${GITHUB_REF#refs/tags/ORA-} | |
- name: Build docker image for standalone | |
uses: docker/build-push-action@v3 | |
with: | |
builder: ${{ steps.buildx.outputs.name }} | |
context: . | |
file: ./Resources/dockerStandalone/Dockerfile | |
build-args: BASEVERSION=latest | |
platforms: linux/amd64 | |
push: true | |
tags: openroberta/standalone:latest, openroberta/standalone:${{ steps.getTagName.outputs.tag }} | |