Skip to content

deployment of version 5.2.11 #15

deployment of version 5.2.11

deployment of version 5.2.11 #15

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 }}