bump yip to v1.4.4 #49
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: goreleaser | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| goreleaser: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # undocumented OIDC support. | |
| contents: write | |
| env: | |
| COSIGN_EXPERIMENTAL: 1 | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/[email protected] | |
| with: | |
| go-version-file: go.mod | |
| - name: Set up cosign | |
| uses: sigstore/[email protected] | |
| - name: Run GoReleaser | |
| uses: goreleaser/[email protected] | |
| with: | |
| version: latest | |
| args: release --rm-dist | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| release-images: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| arch: ['x86_64'] | |
| flavor: ['green', 'tumbleweed'] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ secrets.ELEMENTAL_BOT_GITHUB_USERNAME }} | |
| password: ${{ secrets.ELEMENTAL_BOT_GITHUB_TOKEN }} | |
| - name: Build example image | |
| run: | | |
| make ARCH=${{ matrix.arch }} FLAVOR=${{ matrix.flavor }} TOOLKIT_REPO=ghcr.io/${{ github.workspace }}/${{ github.repository }}/elemental-cli REPO=ghcr.io/${{ github.workspace }}/${{ github.repository }}/elemental-${{ matrix.flavor}} build-os push-os push-toolkit |