Skip to content

Workflow file for this run

name: Docker Image CI
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to ProductiveOps Docker Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.DOCKERREGISTRY_USERNAME }}
password: ${{ secrets.DOCKERREGISTRY_PASSWORD }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}"
file: Dockerfile
push: true
tags: ghcr.io/productiveops/dokemon-site:latest