Skip to content

Commit

Permalink
for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Apr 22, 2024
1 parent d07afd0 commit 08a90a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 29 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- v*.*.*
branches:
- test-provenance-docker

env:
DOCKER_BUILDKIT: 1
Expand Down Expand Up @@ -96,31 +98,3 @@ jobs:
with:
subject-name: ${{ steps.image.outputs.name_2 }}
subject-digest: ${{ steps.image.outputs.digest_2 }}

- name: GitHub Release
run: make release-notes
env:
GH_TOKEN: ${{ github.token }}
VERSION: ${{ github.ref_name }}

- if: ${{ success() }}
uses: elastic/apm-pipeline-library/.github/actions/slack-message@current
with:
url: ${{ secrets.VAULT_ADDR }}
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
channel: "#apm-aws-lambda"
message: |
:large_green_circle: [${{ github.repository }}] Release *${{ github.ref_name }}* published."
Build: (<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>)
- if: ${{ failure() }}
uses: elastic/apm-pipeline-library/.github/actions/slack-message@current
with:
url: ${{ secrets.VAULT_ADDR }}
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
channel: "#apm-aws-lambda"
message: |
:large_yellow_circle: [${{ github.repository }}] Release *${{ github.ref_name }}* could not be published."
Build: (<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>)
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build:

.PHONY: release
release:
go run github.com/goreleaser/goreleaser@$(GORELEASER_VERSION) release --clean
go run github.com/goreleaser/goreleaser@$(GORELEASER_VERSION) release --clean --skip-publish

.PHONY: release-notes
release-notes:
Expand Down

0 comments on commit 08a90a0

Please sign in to comment.