Skip to content

Commit 92ae6bb

Browse files
committed
test
1 parent 845da51 commit 92ae6bb

1 file changed

Lines changed: 19 additions & 9 deletions

File tree

.github/workflows/notify.yaml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
1-
name: notify
1+
name: Announcements
2+
run-name: Announcement for ${{ github.event_name == 'release' && github.event.release.name || github.event.registry_package.name }} | ${{ github.event_name }}
23

34
on:
4-
status
5+
release:
6+
types: [published]
7+
registry_package:
8+
types: [published, updated]
9+
10+
env:
11+
YQ_VERSION: "v4.32.2"
12+
YQ_BINARY: yq_linux_amd64
13+
514
jobs:
6-
status:
7-
runs-on: ubuntu-latest
15+
ghcr_upload:
16+
name: ${{ github.event.registry_package.name }} uploaded to GHCR
17+
runs-on: ubuntu-22.04
818
steps:
9-
- env:
10-
DESCRIPTION: ${{ github.event.description }}
11-
run: |
12-
echo The status is error or failed: $DESCRIPTION
13-
echo ${{ github.event }}
19+
- uses: actions/checkout@v3
20+
- run: |
21+
echo tag -> ${{ github.event.registry_package.package_version.container_metadata.tag.name }}
22+
echo name -> ${{ github.event.registry_package.name }}
23+
echo event -> ${ github.event }}

0 commit comments

Comments
 (0)