25 lines
627 B
YAML
25 lines
627 B
YAML
name: CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths-ignore:
|
|
- '.github/**'
|
|
|
|
jobs:
|
|
build:
|
|
if: github.repository_owner == 'spring-cloud'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Determine version
|
|
run: |
|
|
echo baseimage_version=$(cat version.txt) >> $GITHUB_ENV
|
|
- name: Build and Publish Images
|
|
uses: ./.github/actions/build-image
|
|
with:
|
|
version: ${{ env.baseimage_version }}
|
|
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
dockerhub-password: ${{ secrets.DOCKERHUB_TOKEN }}
|