Only configure the full set of Apple credentials for release builds
This ensures the notarization script will now properly skip notarization on untagged commits to master.
@@ -57,6 +57,7 @@ jobs:
echo "::set-env name=IMG::redskyops/redskyops-controller:${TAG}"
echo "::set-env name=REDSKYCTL_IMG::redskyops/redskyctl:${TAG}"
echo "::set-env name=SETUPTOOLS_IMG::redskyops/setuptools:${TAG}"
+ echo "::set-env name=AC_USERNAME::${{ secrets.AC_USERNAME }}"
printenv DOCKER_PASSWORD | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
else
TAG="sha-$(git rev-parse --short HEAD)"
@@ -76,7 +77,6 @@ jobs:
args: release --rm-dist --release-notes hack/changelog.md.txt
env:
GITHUB_TOKEN: ${{ secrets.BMASTERS_TOKEN }}
- AC_USERNAME: ${{ secrets.AC_USERNAME }}
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
AC_IDENTITY_P12: ${{ secrets.AC_IDENTITY_P12 }}
- name: Push Docker images
