-
-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (46 loc) · 1.57 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
concurrency: release
jobs:
x86-64-unknown-linux-release:
name: Build and upload x86-64-unknown-linux-release to Cloudsmith
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder:release
steps:
- uses: actions/[email protected]
- name: Build and upload
run: bash .ci-scripts/release/x86-64-unknown-linux-release.bash
env:
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
build-release-docker-images:
name: Build and push release Docker images
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Login to GitHub Container Registry
# v2.2.0
uses: docker/login-action@5139682d94efc37792e6b54386b5b470a68a4737
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
run: bash .ci-scripts/release/build-docker-images-on-release.bash
trigger-release-announcement:
name: Trigger release announcement
runs-on: ubuntu-latest
needs: [x86-64-unknown-linux-release, build-release-docker-images]
steps:
- uses: actions/[email protected]
- name: Trigger
uses: ponylang/[email protected]
with:
step: trigger-release-announcement
git_user_name: "Ponylang Main Bot"
git_user_email: "[email protected]"
env:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}