Skip to content

Commit

Permalink
Add CD
Browse files Browse the repository at this point in the history
  • Loading branch information
RealHinome committed Jun 17, 2023
1 parent 25947ba commit d602737
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Docker image

on:
release:
types: [published]

jobs:
gravitalia:
name: Publish Iris
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build the Docker image
run: |
docker build . --tag ghcr.io/gravitalia/spinoza:latest
docker push ghcr.io/gravitalia/iris:latest

0 comments on commit d602737

Please sign in to comment.