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