Skip to content

Commit

Permalink
trying a different build method
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed Jun 17, 2024
1 parent 4adcfc0 commit b4f7979
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 40 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ permissions:
contents: read
env:
REGISTRY: ghcr.io
DOCKERFILE: ${{ github.workspace }}/goreleaser.dockerfile

jobs:
release:
Expand Down Expand Up @@ -36,15 +35,17 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
tags: ghcr.io/external-secrets/bitwarden-sdk-server:${{ steps.prep.outputs.VERSION }}
push: true
- name: Install Helm
uses: azure/setup-helm@v4
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --release-notes=docs/release_notes/${{ steps.prep.outputs.VERSION }}.md --skip-validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build and release the helm charts
run: |
helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
Expand Down
32 changes: 0 additions & 32 deletions .goreleaser.yaml

This file was deleted.

0 comments on commit b4f7979

Please sign in to comment.