2021-03-09 04:55:54 -05:00
|
|
|
name: Build and publish to Docker Hub (releases only)
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [created]
|
|
|
|
|
2021-03-05 04:07:08 -05:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Converge
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Docker login
|
|
|
|
run: |
|
|
|
|
echo "${{ secrets.DOCKER_PASS }}" | docker login -u ${{ secrets.DOCKER_PASS }} --password-stdin
|
|
|
|
- name: Converge
|
|
|
|
uses: werf/actions/converge@master
|
|
|
|
with:
|
|
|
|
group: 1.1
|
|
|
|
channel: beta
|
|
|
|
env:
|
2021-03-09 04:21:56 -05:00
|
|
|
WERF_STAGES_STORAGE=":local"
|
2021-03-05 04:07:08 -05:00
|
|
|
WERF_REPO: ${{ secrets.REGISTRY }}/${{ github.repository }}
|