Publish capella images on push (#3803)

This commit is contained in:
Michael Sproul
2022-12-15 11:42:35 +11:00
committed by GitHub
parent f3e8ca852e
commit d48460782b

View File

@@ -5,6 +5,7 @@ on:
branches: branches:
- unstable - unstable
- stable - stable
- capella
tags: tags:
- v* - v*
@@ -34,6 +35,11 @@ jobs:
run: | run: |
echo "VERSION=latest" >> $GITHUB_ENV echo "VERSION=latest" >> $GITHUB_ENV
echo "VERSION_SUFFIX=-unstable" >> $GITHUB_ENV echo "VERSION_SUFFIX=-unstable" >> $GITHUB_ENV
- name: Extract version (if capella)
if: github.event.ref == 'refs/heads/capella'
run: |
echo "VERSION=capella" >> $GITHUB_ENV
echo "VERSION_SUFFIX=" >> $GITHUB_ENV
- name: Extract version (if tagged release) - name: Extract version (if tagged release)
if: startsWith(github.event.ref, 'refs/tags') if: startsWith(github.event.ref, 'refs/tags')
run: | run: |