Skip to content

v1.7.6

v1.7.6 #6

name: Build Docker image
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
name: Build & push docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- 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