build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /compo… #1
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: Build & Publish JWA Docker image | |
on: | |
push: | |
branches: | |
- master | |
- v*-branch | |
paths: | |
- components/crud-web-apps/jupyter/** | |
- components/crud-web-apps/common/** | |
- releasing/version/VERSION | |
env: | |
DOCKER_USER: kubeflownotebookswg | |
IMG: kubeflownotebookswg/jupyter-web-app | |
ARCH: linux/amd64,linux/ppc64le,linux/arm64/v8 | |
jobs: | |
push_to_registry: | |
name: Build & Push Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
base: ${{ github.ref }} | |
filters: | | |
version: | |
- 'releasing/version/VERSION' | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ env.DOCKER_USER }} | |
password: ${{ secrets.KUBEFLOWNOTEBOOKSWG_DOCKER_TOKEN }} | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Setup Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build and push multi-arch docker image | |
run: | | |
cd components/crud-web-apps/jupyter | |
ARCH=linux/amd64 make docker-build-multi-arch | |
ARCH=linux/ppc64le make docker-build-multi-arch | |
ARCH=linux/arm64/v8 make docker-build-multi-arch | |
make docker-build-push-multi-arch | |
- name: Build and push latest multi-arch docker image | |
if: github.ref == 'refs/heads/master' | |
run: | | |
export TAG=latest | |
cd components/crud-web-apps/jupyter | |
make docker-build-push-multi-arch | |
- name: Build and push multi-arch docker image on Version change | |
id: version | |
if: steps.filter.outputs.version == 'true' | |
run: | | |
export TAG=$(cat releasing/version/VERSION) | |
cd components/crud-web-apps/jupyter | |
make docker-build-push-multi-arch |