Commit 86a6c42 Ryoga Saito
committed Nov 14, 2023
1 parent 41c3968 commit 86a6c42 Copy full SHA for 86a6c42
File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and publish ictsc-discord-bot Docker image
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+
9
+ jobs :
10
+ build-and-publish :
11
+ runs-on : ubuntu-latest
12
+ permissions :
13
+ contents : read
14
+ packages : write
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Sign in to GitHub Packages
20
+ uses : docker/login-action@v3
21
+ with :
22
+ registry : ghcr.io
23
+ username : ${{ github.actor }}
24
+ password : ${{ secrets.GITHUB_TOKEN }}
25
+
26
+ - name : Build and push Docker image
27
+ uses : docker/build-push-action@v5
28
+ with :
29
+ context : .
30
+ push : false
31
+ tags : ghcr.io/${{ github.repository }}:${{ github.sha }}
You can’t perform that action at this time.
0 commit comments