Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
add docker build and publish to publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoester committed Aug 30, 2023
1 parent 56c359d commit fda273c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 90 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/PR-into-2022-2.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: Merge and PR into 2022.2
run-name: Merge 2021.3 -> 2022.2
on:
pull_request_target:
types:
- closed
branches:
- 'mps/2021.3'

# disabled for now, as we do not support MPS 2022.* yet
#on:
# pull_request_target:
# types:
# - closed
# branches:
# - 'mps/2021.3'

jobs:
merge-and-PR-into-2022-2:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/autoTagNewVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types:
- closed
branches:
- 'mps/2022.2'
- 'mps/2021.3'

# allow manual execution just in case
workflow_dispatch:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
push:
branches:
- 'mps/20**'
- 'merge/20**'


# build on new PRs
pull_request:

Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ on:
# release on tagging
push:
tags:
- 'mps/2020.**'
- 'mps/2021.**'
- '2020.3.**'
- '2021.1.**'
- '2021.2.**'
- '2021.3.**'

# allow manual execution just in case
workflow_dispatch:
Expand All @@ -31,3 +33,16 @@ jobs:
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew assemble publish -Partifacts.itemis.cloud.user=${{secrets.ARTIFACTS_ITEMIS_CLOUD_USER}} -Partifacts.itemis.cloud.pw=${{secrets.ARTIFACTS_ITEMIS_CLOUD_PW}}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm64
- name: Build and Publish MPS+Projector Docker image
env:
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_KEY: ${{ secrets.DOCKER_HUB_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cd docker && ./docker-build-projector.sh
79 changes: 0 additions & 79 deletions docker/docker-build-projector-mps.sh

This file was deleted.

0 comments on commit fda273c

Please sign in to comment.