Skip to content

1.8.5

1.8.5 #18

name: Build Docker image
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
name: Build & push docker image
runs-on: ubuntu-latest
steps:
- name: Wait for release to complete
run: sleep 600s
shell: bash
- name: Checkout
uses: actions/checkout@v4
- name: Info
run: echo "Parameters. ${{ github.event.base_ref }}, ${{ github.ref_type }}, ${{ github.ref }}"
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:containers/docker"
push: true
tags: kpeeples/kaas-baseline:latest