Skip to content

Commit

Permalink
rename and update 2 apma workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Stey committed Jul 29, 2021
1 parent bd397cd commit 8ffa817
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Tag production image for apma0360
name: Tag production image for apma0350
on: [workflow_dispatch]

env:
CLASS: apma0360
CLASS: apma0350
TARGET: base

jobs:
Expand All @@ -25,16 +25,16 @@ jobs:
- name: Build and Push JH Image
run: |
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up jh_image
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0360:${GITHUB_REF##*/}
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0360:${GITHUB_SHA}
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0360:latest
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0360:fall-2020
docker push gcr.io/jupyterhub-docker-images/apma0360:latest
docker push gcr.io/jupyterhub-docker-images/apma0360:fall-2020
docker push gcr.io/jupyterhub-docker-images/apma0360:${GITHUB_REF##*/}
docker push gcr.io/jupyterhub-docker-images/apma0360:${GITHUB_SHA}
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0350:${GITHUB_REF##*/}
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0350:${GITHUB_SHA}
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0350:latest
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0350:fall-2020

This comment has been minimized.

Copy link
@mirestrepo

mirestrepo Jul 30, 2021

Member

@paulstey you are skipping PR reviews! 😈 - the tag needs to be fall-2021 instead of fall-2020

docker push gcr.io/jupyterhub-docker-images/apma0350:latest
docker push gcr.io/jupyterhub-docker-images/apma0350:fall-2020
docker push gcr.io/jupyterhub-docker-images/apma0350:${GITHUB_REF##*/}
docker push gcr.io/jupyterhub-docker-images/apma0350:${GITHUB_SHA}
- name: Upload Cond Env Files to Google Storage Bucket
run: |
gsutil cp -r requirements/out gs://jupyterhub-environment-files/fall-2020/apma0360/past/${GITHUB_SHA}/conda
gsutil cp -r requirements/out gs://jupyterhub-environment-files/fall-2020/apma0360/latest/conda
gsutil cp -r requirements/out gs://jupyterhub-environment-files/fall-2020/apma0350/past/${GITHUB_SHA}/conda
gsutil cp -r requirements/out gs://jupyterhub-environment-files/fall-2020/apma0350/latest/conda
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Build Image for apma0360
name: Build Image for apma0350
on:
push:
paths:
- 'requirements/classes/apma0360/**'
- 'requirements/classes/apma0350/**'
- 'Dockerfile'
- 'docker-compose.yml'
- 'scripts/**'
- '.github/workflows/apma0360.yml'
- '.github/workflows/apma0350.yml'

env:
CLASS: apma0360
CLASS: apma0350
TARGET: base

jobs:
Expand Down Expand Up @@ -39,10 +39,10 @@ jobs:
- name: Build and Push JH Image
run: |
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up jh_image
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0360:${GITHUB_REF##*/}
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0360:latest
docker push gcr.io/jupyterhub-docker-images/apma0360:latest
docker push gcr.io/jupyterhub-docker-images/apma0360:${GITHUB_REF##*/}
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0350:${GITHUB_REF##*/}
docker tag jupyterhub-docker-images_jh_image:latest gcr.io/jupyterhub-docker-images/apma0350:latest
docker push gcr.io/jupyterhub-docker-images/apma0350:latest
docker push gcr.io/jupyterhub-docker-images/apma0350:${GITHUB_REF##*/}
Expand Down

0 comments on commit 8ffa817

Please sign in to comment.