mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
github: fix deprecated set-env
This commit is contained in:
parent
4243be3a4b
commit
a3d5466ac3
6
.github/workflows/build_docker.yml
vendored
6
.github/workflows/build_docker.yml
vendored
@ -36,15 +36,15 @@ jobs:
|
||||
steps:
|
||||
- name: Set pull request docker tag
|
||||
if: github.event_name == 'pull_request'
|
||||
run: echo "::set-env name=DOCKER_TAG::px4io/px4-dev:${{ github.sha }}"
|
||||
run: echo "DOCKER_TAG=px4io/px4-dev:${{ github.sha }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Set push docker tag
|
||||
if: github.event_name == 'push'
|
||||
run: echo "::set-env name=DOCKER_TAG::px4io/px4-dev:latest"
|
||||
run: echo "DOCKER_TAG=px4io/px4-dev:latest" >> $GITHUB_ENV
|
||||
|
||||
- name: Set release docker tag
|
||||
if: github.event_name == 'release'
|
||||
run: echo "::set-env name=DOCKER_TAG::px4io/px4-dev:${{ github.event.release.name }}"
|
||||
run: echo "DOCKER_TAG=px4io/px4-dev:${{ github.event.release.name }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Set docker tag outputs
|
||||
id: set-outputs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user