disable docker releases (workaround) (#493)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman 2021-09-03 17:29:34 -04:00 committed by GitHub
parent abbba3fc19
commit 06dcd3261d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 17 deletions

View File

@ -94,11 +94,15 @@ jobs:
needs: [quality-gate] needs: [quality-gate]
runs-on: macos-latest # Due to our code signing process, it's vital that we run our release steps on macOS. runs-on: macos-latest # Due to our code signing process, it's vital that we run our release steps on macOS.
steps: steps:
- uses: docker-practice/actions-setup-docker@v1
# note, it is important to always be auth'd into docker.io to prevent rate limiting issues # we are having an infinite loop of installing docker https://github.com/anchore/syft/actions/runs/1199137004
- name: Login to Docker Hub # we are still looking for a fix
run: echo ${{ secrets.TOOLBOX_DOCKER_PASS }} | docker login docker.io -u ${{ secrets.TOOLBOX_DOCKER_USER }} --password-stdin
# - uses: docker-practice/actions-setup-docker@v1
#
# # note, it is important to always be auth'd into docker.io to prevent rate limiting issues
# - name: Login to Docker Hub
# run: echo ${{ secrets.TOOLBOX_DOCKER_PASS }} | docker login docker.io -u ${{ secrets.TOOLBOX_DOCKER_USER }} --password-stdin
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:

View File

@ -91,16 +91,19 @@ brews:
homepage: *website homepage: *website
description: *description description: *description
dockers: # we are having an infinite loop of installing docker https://github.com/anchore/syft/actions/runs/1199137004
- dockerfile: Dockerfile # we are still looking for a fix
image_templates:
- "anchore/syft:latest" #dockers:
- "anchore/syft:{{ .Tag }}" # - dockerfile: Dockerfile
- "anchore/syft:v{{ .Major }}" # image_templates:
- "anchore/syft:v{{ .Major }}.{{ .Minor }}" # - "anchore/syft:latest"
build_flag_templates: # - "anchore/syft:{{ .Tag }}"
- "--build-arg=BUILD_DATE={{.Date}}" # - "anchore/syft:v{{ .Major }}"
- "--build-arg=BUILD_VERSION={{.Version}}" # - "anchore/syft:v{{ .Major }}.{{ .Minor }}"
- "--build-arg=VCS_REF={{.FullCommit}}" # build_flag_templates:
- "--build-arg=VCS_URL={{.GitURL}}" # - "--build-arg=BUILD_DATE={{.Date}}"
use_buildx: true # - "--build-arg=BUILD_VERSION={{.Version}}"
# - "--build-arg=VCS_REF={{.FullCommit}}"
# - "--build-arg=VCS_URL={{.GitURL}}"
# use_buildx: true