Skip to content

Commit

Permalink
Updated workflows to include builds for arm64 (added platform tags).
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed Dec 6, 2024
1 parent c66e193 commit 9616529
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/docker-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
id: docker_build
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./nifi
file : "./nifi/Dockerfile"
allow: network.host
Expand All @@ -56,6 +57,7 @@ jobs:
- name: Build and push Docker Jupyter image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./services/jupyter-hub
file : "./services/jupyter-hub/Dockerfile"
allow: network.host
Expand All @@ -66,6 +68,7 @@ jobs:
- name: Build and push Docker NiFi-Nginx image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./services/nginx
file : "./services/nginx/Dockerfile"
allow: network.host
Expand All @@ -76,12 +79,24 @@ jobs:
- name: Build and push Docker Jupyter singleuser image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./services/jupyter-hub
file : "./services/jupyter-hub/Dockerfile_singleuser"
allow: network.host
github-token: ${{ github.token }}
tags: cogstacksystems/jupyter-singleuser:dev-latest
push: true

- name: Build and push Docker Jupyter singleuser GPU image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./services/jupyter-hub
file : "./services/jupyter-hub/Dockerfile_singleuser_gpu"
allow: network.host
github-token: ${{ github.token }}
tags: cogstacksystems/jupyter-singleuser-gpu:dev-latest
push: true

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
2 changes: 2 additions & 0 deletions .github/workflows/docker-elasticsearch-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
- name: Build and push Docker Kibana image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./services/kibana
file : "./services/kibana/Dockerfile_native"
allow: network.host
Expand All @@ -85,6 +86,7 @@ jobs:
- name: Build and push Docker Elasticsearch image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./services/elasticsearch
file : "./services/elasticsearch/Dockerfile_native"
allow: network.host
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-jupyter-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
- name: Build and push Docker Jupyter image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./services/jupyter-hub
file : "./services/jupyter-hub/Dockerfile"
allow: network.host
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-jupyter-singleuser-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
- name: Build and push Docker Jupyter singleuser image with GPU support
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./services/jupyter-hub
file : "./services/jupyter-hub/Dockerfile_singleuser_gpu"
allow: network.host
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-jupyter-singleuser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
- name: Build and push Docker Jupyter singleuser image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context : ./services/jupyter-hub
file : "./services/jupyter-hub/Dockerfile_singleuser"
allow: network.host
Expand Down

0 comments on commit 9616529

Please sign in to comment.