From dd0dd07bf9350e22179abf704ec6bebc455c084d Mon Sep 17 00:00:00 2001 From: Alex Lovell-Troy Date: Fri, 8 Nov 2024 15:15:28 -0500 Subject: [PATCH] removing a non-goreleaser build action --- .github/workflows/build_containers.yaml | 64 ------------------------- 1 file changed, 64 deletions(-) delete mode 100644 .github/workflows/build_containers.yaml diff --git a/.github/workflows/build_containers.yaml b/.github/workflows/build_containers.yaml deleted file mode 100644 index da16179..0000000 --- a/.github/workflows/build_containers.yaml +++ /dev/null @@ -1,64 +0,0 @@ -name: build and publish container - -permissions: - packages: write - contents: write - -on: - workflow_dispatch: - push: - tags: - - v[0-9]+.[0-9]+.[0-9]+* - -jobs: - build-and-release: - runs-on: ubuntu-latest - steps: - - name: Check out the repo - uses: actions/checkout@v4 - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - # list of Docker images to use as base name for tags - images: | - ghcr.io/openchami/coresmd - - # generate Docker tags based on the following events/attributes - tags: | - type=schedule - type=ref,event=branch - type=ref,event=pr - type=semver,pattern={{raw}} - type=semver,pattern=v{{version}} - type=semver,pattern=v{{major}}.{{minor}} - type=semver,pattern=v{{major}} - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Login to github container repo - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push coresmd container - uses: docker/build-push-action@v5 - with: - platforms: linux/amd64 - context: . - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - - name: Generate changelog - id: changelog - uses: requarks/changelog-action@v1 - with: - tag: ${{ github.ref_name }} - token: ${{ secrets.GITHUB_TOKEN }} - useGitmojis: false - writeToFile: false - restrictToTypes: 'feat,feature,fix,bugfix,perf,refactor,test,tests,chore,ci,docs,build,other' - - name: Create a release - uses: softprops/action-gh-release@v2 - with: - body: ${{ steps.changelog.outputs.changes }}