Skip to content

Commit

Permalink
Update master CI yaml to support new GitHub env
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentLesle committed Nov 30, 2020
1 parent 2f9206b commit ed797d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
password: ${{ secrets.docker_registry_password }}
# Container registry server url
login-server: https://index.docker.io/v1/
- name: Set the rover version
run: |
echo "docker_tag=$(date +"%g%m.%d%H%M")" >> $GITHUB_ENV
- name: Build the rover
run: |
set -e
docker_tag=$(date +"%g%m.%d%H")
echo ::set-env name=docker_tag::${docker_tag}
# Build the rover base image
docker-compose build --build-arg versionRover="aztfmod/rover:$docker_tag"
Expand Down

0 comments on commit ed797d8

Please sign in to comment.