We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27df1a8 commit 442ba5dCopy full SHA for 442ba5d
1 file changed
.github/workflows/github_pkg.yaml
@@ -0,0 +1,31 @@
1
+name: Publish Docker Image to GitHub
2
+on:
3
+ push:
4
+ branches:
5
+ - "submodules"
6
+ - "master"
7
+
8
+jobs:
9
+ push_to_registry:
10
+ name: Push Docker image to GitHub Packages
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v2
15
+ with:
16
+ ref: ${{ github.head_ref }}
17
+ fetch-depth: 1
18
+ persist-credentials: false
19
+ submodules: recursive
20
+ - name: Checkout submodules
21
+ uses: textbook/git-checkout-submodule-action@master
22
23
+ remote: true
24
+ - name: Push to GitHub Packages
25
+ uses: docker/build-push-action@v1
26
27
+ username: ${{ github.actor }}
28
+ password: ${{ secrets.GITHUB_TOKEN }}
29
+ registry: docker.pkg.github.com
30
+ repository: ${GITHUB_REPOSITORY,,}/ps3dev
31
+ tag_with_ref: true
0 commit comments