We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 510b82c commit 4a6f9b1Copy full SHA for 4a6f9b1
1 file changed
.github/workflows/publish-ghcr.yaml
@@ -0,0 +1,14 @@
1
+name: Docker image CI for GHCR
2
+
3
+on: push
4
5
+jobs:
6
+ build_and_publish:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ - name: Build and push the image
11
+ run: |
12
+ docker login --username z0tedd --password ${{ secrets.GH_PAT }} ghcr.io
13
+ docker build . --tag ghcr.io/z0tedd/cpp-endpoint-example:latest
14
+ docker push ghcr.io/z0tedd/cpp-endpoint-example:latest
0 commit comments