Skip to content

Commit cd1b604

Browse files
committed
Automate the building and publishing of Docker images.
1 parent bcfbe90 commit cd1b604

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Deploy
2+
on: push
3+
4+
jobs:
5+
deploy:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Check out the repository
9+
uses: actions/checkout@v4
10+
- name: Log into GHCR
11+
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
12+
- name: Build the image
13+
run: docker compose build
14+
- name: Push the image
15+
run: docker compose push

0 commit comments

Comments
 (0)