Maintenance: GitHub actions set-env
directive is deprecated and causes docker builds to fail.
This commit is contained in:
parent
c46b689405
commit
0e6cab4329
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
2
.github/workflows/build-docker-image.yaml
vendored
2
.github/workflows/build-docker-image.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue