Skip to content

Commit

Permalink
Merge pull request #71 from nautobot/gha-fix
Browse files Browse the repository at this point in the history
Update GHA per best practice
  • Loading branch information
jtdub authored May 22, 2023
2 parents 8d22237 + 25cb1b5 commit eb6ef64
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
HUB_URL: "https://hub.docker.com/v2/repositories/networktocode/nautobot-lab"
# ACTIONS_ALLOW_UNSECURE_COMMANDS is required to set the NAUTOBOT_VERSION
# environment variable
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

jobs:
build:
Expand Down Expand Up @@ -57,7 +54,7 @@ jobs:
echo "Nautobot and Nautobot Lab versions match."
exit 0
else
echo "::set-env name=NAUTOBOT_VERSION::$nautobot_version"
echo "NAUTOBOT_VERSION=$nautobot_version" >> "$GITHUB_ENV"
fi
- name: Build and push Nautobot Lab images
Expand Down

0 comments on commit eb6ef64

Please sign in to comment.