Skip to content

Commit

Permalink
DockerHub fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWollbrink committed Sep 8, 2023
1 parent 327c01c commit bbd7e6f
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 42 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/build-and-publish-docker-images-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Build-and-publish-docker-images-release-workflow

on:
push:
branches:
- main
- master
- '*/Fix-*-docker*'

release:
types: [published]

jobs:
Build-and-publish-docker-release-images:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.body, 'The workflow build-and-publish-docker-images was intentionally skipped.') == false
steps:
- uses: actions/checkout@master

- name: Build and publish AasxServerBlazor
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-blazor-for-demo
tag_with_ref: true
dockerfile: src/docker/Dockerfile-AasxServerBlazor

- name: Build and publish AasxServerBlazor-arm32
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-blazor-for-demo-arm32
tag_with_ref: true
dockerfile: src/docker/Dockerfile-AasxServerBlazor-arm32

- name: Build and publish AasxServerBlazor-arm64
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-blazor-for-demo-arm64
tag_with_ref: true
dockerfile: src/docker/Dockerfile-AasxServerBlazor-arm64

- name: Build and publish AasxServerCore
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-core-for-demo
tag_with_ref: true
dockerfile: src/docker/Dockerfile-AasxServerCore

- name: Build and publish AasxServerCore-arm32
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-core-for-demo-arm32
tag_with_ref: true
dockerfile: src/docker/Dockerfile-AasxServerCore-arm32

- name: Build and publish AasxServerCore-arm64
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-core-for-demo-arm64
tag_with_ref: true
dockerfile: src/docker/Dockerfile-AasxServerCore-arm64
83 changes: 41 additions & 42 deletions .github/workflows/build-and-publish-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build-and-publish-docker-images-workflow
on:
push:
branches:
- jtikekar/masterV3.0
- '**V3**'

release:
types: [published]
Expand All @@ -17,14 +17,14 @@ jobs:
steps:
- uses: actions/checkout@master

# - name: Build and publish AasxServerBlazor
# uses: docker/build-push-action@v1
# with:
# username: adminshellio
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# repository: adminshellio/aasx-server-blazor-for-demo
# tag_with_ref: true
# dockerfile: src/docker/Dockerfile-AasxServerBlazor
- name: Build and publish AasxServerBlazor
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-blazor-for-demo
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerBlazor

- name: Build and publish AasxServerBlazor-arm32
uses: docker/build-push-action@v1
Expand All @@ -33,41 +33,40 @@ jobs:
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-blazor-for-demo-arm32
tags: v3latest
#tag_with_ref: true
dockerfile: src/docker/Dockerfile-AasxServerBlazor-arm32

# - name: Build and publish AasxServerBlazor-arm64
# uses: docker/build-push-action@v1
# with:
# username: adminshellio
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# repository: adminshellio/aasx-server-blazor-for-demo-arm64
# tag_with_ref: true
# dockerfile: src/docker/Dockerfile-AasxServerBlazor-arm64
- name: Build and publish AasxServerBlazor-arm64
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-blazor-for-demo-arm64
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerBlazor-arm64

# - name: Build and publish AasxServerCore
# uses: docker/build-push-action@v1
# with:
# username: adminshellio
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# repository: adminshellio/aasx-server-core-for-demo
# tag_with_ref: true
# dockerfile: src/docker/Dockerfile-AasxServerCore
- name: Build and publish AasxServerCore
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-core-for-demo
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerCore

# - name: Build and publish AasxServerCore-arm32
# uses: docker/build-push-action@v1
# with:
# username: adminshellio
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# repository: adminshellio/aasx-server-core-for-demo-arm32
# tag_with_ref: true
# dockerfile: src/docker/Dockerfile-AasxServerCore-arm32
- name: Build and publish AasxServerCore-arm32
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-core-for-demo-arm32
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerCore-arm32

# - name: Build and publish AasxServerCore-arm64
# uses: docker/build-push-action@v1
# with:
# username: adminshellio
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# repository: adminshellio/aasx-server-core-for-demo-arm64
# tag_with_ref: true
# dockerfile: src/docker/Dockerfile-AasxServerCore-arm64
- name: Build and publish AasxServerCore-arm64
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-core-for-demo-arm64
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerCore-arm64

0 comments on commit bbd7e6f

Please sign in to comment.