We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01a8a0a commit 72e82dfCopy full SHA for 72e82df
.github/workflows/cd.yaml
@@ -0,0 +1,31 @@
1
+name: CD
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ tags:
8
+ - v*
9
10
+jobs:
11
+ build:
12
+ permissions:
13
+ contents: read
14
+ packages: write
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v5
18
+ - uses: docker/setup-buildx-action@v3
19
+ - uses: docker/login-action@v3
20
+ with:
21
+ password: ${{ secrets.GITHUB_TOKEN }}
22
+ registry: ghcr.io
23
+ username: ${{ github.actor }}
24
+ - uses: docker/build-push-action@v6
25
26
+ context: .
27
+ file: ./Dockerfile
28
+ push: true
29
+ tags: |
30
+ ghcr.io/${{ github.repository }}:latest
31
+ ghcr.io/${{ github.repository }}:${{ github.sha }}
0 commit comments