Skip to content

Commit

Permalink
Update zwift_push.yaml
Browse files Browse the repository at this point in the history
Ups
  • Loading branch information
netbrain authored Sep 22, 2023
1 parent 1bac9f1 commit fb053f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/zwift_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@ jobs:
docker cp "${local_file}" "zwift:${container_path}"
fi
done
docker rm zwift
if [ "$has_changes" = true ]; then
export BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
docker commit --change="LABEL org.opencontainers.image.created=$BUILD_DATE" \
-m "Updated script files from git ($GITHUB_SHA)" \
zwift \
netbrain/zwift:latest
docker push "netbrain/zwift:latest"
fi
docker rm zwift

0 comments on commit fb053f9

Please sign in to comment.