diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 289898c1..4ccf4f74 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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"