Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mwz committed May 2, 2021
1 parent 8c0b79b commit d8479f9
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release
on:
push:
tags: ["*"]
jobs:
release:
name: Release
runs-on: ubuntu-20.04
environment: release
steps:
- uses: actions/checkout@v2
- name: Docker login
run: echo "$DOCKER_PASS" | docker login -u "$DOCKER_USER" --password-stdin
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASS: ${{secrets.DOCKER_PASS}}
- name: Release
run: |
export VERSION=`jq -r '.current.version' vars.json`
./release.sh
release-lts:
name: Release LTS
runs-on: ubuntu-20.04
environment: release-lts
steps:
- uses: actions/checkout@v2
- name: Docker login
run: echo "$DOCKER_PASS" | docker login -u "$DOCKER_USER" --password-stdin
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASS: ${{secrets.DOCKER_PASS}}
- name: Release LTS
run: |
export VERSION_LTS=`jq -r '.lts.version' vars.json`
./release-lts.sh

0 comments on commit d8479f9

Please sign in to comment.