Rainbond/.github/workflows/release-ci-build.yml

27 lines
796 B
YAML
Raw Normal View History

2020-11-25 17:21:13 +08:00
name: release-ci-build
on:
release:
2021-02-21 16:52:46 +08:00
branches: [master, V5.3]
workflow_dispatch:
2020-11-25 17:21:13 +08:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2021-02-21 16:52:46 +08:00
- uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v2.1.3
with:
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
go-version: 1.13
2020-11-25 17:21:13 +08:00
2021-02-21 16:52:46 +08:00
- name: Build the Docker image
env:
DISABLE_GOPROXY: true
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOMESTIC_DOCKER_PASSWORD: ${{ secrets.DOMESTIC_DOCKER_PASSWORD }}
DOMESTIC_DOCKER_USERNAME: ${{ secrets.DOMESTIC_DOCKER_USERNAME }}
2021-03-28 12:11:44 +08:00
run: VERSION=v5.3.1-release ./release.sh all push