Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chriszo111 authored Nov 19, 2024
1 parent 5db3b22 commit 2efffcc
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Docker Image CI

on:
push:
branches:
- main

jobs:
main-image:
name: build "main" image
runs-on: "ubuntu-latest"
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
push: true
tags: ghcr.io/Reigertje/planningpoker:main

0 comments on commit 2efffcc

Please sign in to comment.