Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
salilponde committed Dec 3, 2023
2 parents 11e8927 + 989e406 commit 788b1b1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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

0 comments on commit 788b1b1

Please sign in to comment.