Skip to content

Merge pull request #19 from HannesOberreiter/patch-4 #53

Merge pull request #19 from HannesOberreiter/patch-4

Merge pull request #19 from HannesOberreiter/patch-4 #53

name: Build and push Docker image
on:
push:
branches: [main]
jobs:
build-and-push-docker-image:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64
push: true
tags: |
ghcr.io/plankanban/planka-docs:latest