We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad75684 commit 0ff9e2fCopy full SHA for 0ff9e2f
.github/workflows/build-deliver.yaml
@@ -0,0 +1,27 @@
1
+# docker continuous delivery
2
+# build docker images and push to configured repo, with tags to match branches and git tags
3
+---
4
+name: Build & Deliver
5
+on: [push]
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout git commit
11
+ uses: actions/checkout@main
12
+
13
+ - name: Publish server images to GitHub Container Registry
14
+ # TODO: pin to hash
15
+ uses: elgohr/Publish-Docker-Github-Action@main
16
+ with:
17
+ name: ${{ github.repository }}-server
18
+ registry: ghcr.io
19
20
+ # GitHub actor
21
+ username: ${{ github.actor }}
22
23
+ # GitHub access token
24
+ password: ${{ secrets.GITHUB_TOKEN }}
25
26
+ # create docker image tags to match git tags
27
+ tag_names: true
0 commit comments