diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/ci-docker.yml index b1f2d70381..e7642c6434 100644 --- a/.github/workflows/ci-docker.yml +++ b/.github/workflows/ci-docker.yml @@ -38,9 +38,9 @@ jobs: dockerfile="docker/Dockerfile" fi - echo "::set-env name=BUILD_FROM::${build_from}" - echo "::set-env name=BUILD_TO::${build_to}" - echo "::set-env name=DOCKERFILE::${dockerfile}" + echo "BUILD_FROM=${build_from}" >> $GITHUB_ENV + echo "BUILD_TO=${build_to}" >> $GITHUB_ENV + echo "DOCKERFILE=${dockerfile}" >> $GITHUB_ENV - name: Pull for cache run: | docker pull "${BUILD_TO}:dev" || true diff --git a/.github/workflows/release-dev.yml b/.github/workflows/release-dev.yml index a416ccb4ca..22ac278af7 100644 --- a/.github/workflows/release-dev.yml +++ b/.github/workflows/release-dev.yml @@ -189,7 +189,7 @@ jobs: - name: Set TAG run: | TAG="${GITHUB_SHA:0:7}" - echo "::set-env name=TAG::${TAG}" + echo "TAG=${TAG}" >> $GITHUB_ENV - name: Set up env variables run: | base_version="2.6.0" @@ -204,9 +204,9 @@ jobs: dockerfile="docker/Dockerfile" fi - echo "::set-env name=BUILD_FROM::${build_from}" - echo "::set-env name=BUILD_TO::${build_to}" - echo "::set-env name=DOCKERFILE::${dockerfile}" + echo "BUILD_FROM=${build_from}" >> $GITHUB_ENV + echo "BUILD_TO=${build_to}" >> $GITHUB_ENV + echo "DOCKERFILE=${dockerfile}" >> $GITHUB_ENV - name: Pull for cache run: | docker pull "${BUILD_TO}:dev" || true @@ -243,7 +243,7 @@ jobs: - name: Set TAG run: | TAG="${GITHUB_SHA:0:7}" - echo "::set-env name=TAG::${TAG}" + echo "TAG=${TAG}" >> $GITHUB_ENV - name: Log in to docker hub env: DOCKER_USER: ${{ secrets.DOCKER_USER }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 912a618487..bbaefe4ea6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -209,7 +209,7 @@ jobs: - name: Set TAG run: | TAG="${GITHUB_REF#refs/tags/v}" - echo "::set-env name=TAG::${TAG}" + echo "TAG=${TAG}" >> $GITHUB_ENV - name: Set up env variables run: | base_version="2.6.0" @@ -231,10 +231,10 @@ jobs: fi # Set env variables so these values don't need to be calculated again - echo "::set-env name=BUILD_FROM::${build_from}" - echo "::set-env name=BUILD_TO::${build_to}" - echo "::set-env name=DOCKERFILE::${dockerfile}" - echo "::set-env name=CACHE_TAG::${cache_tag}" + echo "BUILD_FROM=${build_from}" >> $GITHUB_ENV + echo "BUILD_TO=${build_to}" >> $GITHUB_ENV + echo "DOCKERFILE=${dockerfile}" >> $GITHUB_ENV + echo "CACHE_TAG=${cache_tag}" >> $GITHUB_ENV - name: Pull for cache run: | docker pull "${BUILD_TO}:${CACHE_TAG}" || true @@ -279,7 +279,7 @@ jobs: - name: Set TAG run: | TAG="${GITHUB_REF#refs/tags/v}" - echo "::set-env name=TAG::${TAG}" + echo "TAG=${TAG}" >> $GITHUB_ENV - name: Log in to docker hub env: DOCKER_USER: ${{ secrets.DOCKER_USER }}