diff --git a/.github/workflows/issues.yaml b/.github/workflows/issues.yaml deleted file mode 100644 index eb00232f4..000000000 --- a/.github/workflows/issues.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# Uses https://github.com/actions/add-to-project example to add issues to Anchore OSS project -name: Add issues to OSS project - -on: - issues: - types: - - opened - -jobs: - add-to-project: - name: Add issue to project - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@main - with: - project-url: https://github.com/orgs/anchore/projects/22 - github-token: ${{ secrets.CI_WRITE_GITHUB_TOKEN }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f0bf61ca6..c59e8008a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -160,6 +160,9 @@ jobs: release-docker-assets: needs: [release] + # code signing requires we run on mac-os runners. docker does not come installed on the mac-os runner + # a previous release process installed and configured docker on the mac-os runner which lead to blocked releases + # the anchore tools team opted to break this step out to a separate process to remove this work constraint runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -180,5 +183,18 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Restore go cache + id: go-cache + uses: actions/cache@v2.1.3 + with: + path: ~/go/pkg/mod + key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go-${{ env.GO_VERSION }}- + + - name: (cache-miss) Bootstrap all project dependencies + if: steps.tool-cache.outputs.cache-hit != 'true' || steps.go-cache.outputs.cache-hit != 'true' + run: make bootstrap + - name: Build & Publish docker images run: make release-docker-assets