From 0e6cab4329b3abe7e95f4e0a7f927351e03090a3 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 17 Nov 2020 15:38:58 +0100 Subject: [PATCH] Maintenance: GitHub actions `set-env` directive is deprecated and causes docker builds to fail. --- .github/workflows/build-docker-compose-images.yaml | 2 +- .github/workflows/build-docker-image.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docker-compose-images.yaml b/.github/workflows/build-docker-compose-images.yaml index dee54dc0c..00cb696d2 100644 --- a/.github/workflows/build-docker-compose-images.yaml +++ b/.github/workflows/build-docker-compose-images.yaml @@ -15,7 +15,7 @@ jobs: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} steps: - name: Extract REPO_USER from GITHUB_REPOSITORY ENV - run: echo "::set-env name=REPO_USER::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')" + run: echo "REPO_USER=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')" >> $GITHUB_ENV - name: Checkout code uses: actions/checkout@master - name: Fetch all history for all tags and branches diff --git a/.github/workflows/build-docker-image.yaml b/.github/workflows/build-docker-image.yaml index ee43af20a..76ae36ead 100644 --- a/.github/workflows/build-docker-image.yaml +++ b/.github/workflows/build-docker-image.yaml @@ -15,7 +15,7 @@ jobs: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} steps: - name: Extract REPO_USER from GITHUB_REPOSITORY ENV - run: echo "::set-env name=REPO_USER::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')" + run: echo "REPO_USER=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')" >> $GITHUB_ENV - name: Checkout code uses: actions/checkout@master - name: Fetch all history for all tags and branches