Skip to content

Commit

Permalink
Replace disabled github action set-env command
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed May 14, 2021
1 parent 65456ff commit 0e5d82d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Create Dockerfile
run: ./cmbenv -c docker-py3.8-debian -p /usr/local
- name: Set tag name
run: tag=$(echo "${GITHUB_REF}" | sed -e 's/.*\/\(v.*\)/\1/') && echo "::set-env name=TAGNAME::${tag}"
run: tag=$(echo "${GITHUB_REF}" | sed -e 's/.*\/\(v.*\)/\1/') && echo "TAGNAME=${tag}" >> $GITHUB_ENV
- name: Build Docker Image
run: docker build -t hpc4cmb/cmbenv:${TAGNAME} -f Dockerfile_docker-py3.8-debian .
- name: Test Docker Image
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Create Dockerfile
run: ./cmbenv -c docker-toastdeps-py37 -p /usr/local
- name: Set tag name
run: tag=$(echo "${GITHUB_REF}" | sed -e 's/.*\/\(v.*\)/\1/') && echo "::set-env name=TAGNAME::${tag}"
run: tag=$(echo "${GITHUB_REF}" | sed -e 's/.*\/\(v.*\)/\1/') && echo "TAGNAME=${tag}" >> $GITHUB_ENV
- name: Build Docker Image
run: docker build -t hpc4cmb/toast-deps-py37:${TAGNAME} -f Dockerfile_docker-toastdeps-py37 .
- name: Tag Latest
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Create Dockerfile
run: ./cmbenv -c docker-toastdeps-py38 -p /usr/local
- name: Set tag name
run: tag=$(echo "${GITHUB_REF}" | sed -e 's/.*\/\(v.*\)/\1/') && echo "::set-env name=TAGNAME::${tag}"
run: tag=$(echo "${GITHUB_REF}" | sed -e 's/.*\/\(v.*\)/\1/') && echo "TAGNAME=${tag}" >> $GITHUB_ENV
- name: Build Docker Image
run: docker build -t hpc4cmb/toast-deps-py38:${TAGNAME} -f Dockerfile_docker-toastdeps-py38 .
- name: Tag Latest
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Create Dockerfile
run: ./cmbenv -c docker-toastdeps-py39 -p /usr/local
- name: Set tag name
run: tag=$(echo "${GITHUB_REF}" | sed -e 's/.*\/\(v.*\)/\1/') && echo "::set-env name=TAGNAME::${tag}"
run: tag=$(echo "${GITHUB_REF}" | sed -e 's/.*\/\(v.*\)/\1/') && echo "TAGNAME=${tag}" >> $GITHUB_ENV
- name: Build Docker Image
run: docker build -t hpc4cmb/toast-deps-py39:${TAGNAME} -f Dockerfile_docker-toastdeps-py39 .
- name: Tag Latest
Expand Down

0 comments on commit 0e5d82d

Please sign in to comment.