We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9b923 commit b8be3a0Copy full SHA for b8be3a0
.github/workflows/docker-image.yml
@@ -0,0 +1,26 @@
1
+name: Docker Image CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "dockerized" ]
6
7
+jobs:
8
9
+ build:
10
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: read
14
+ packages: write
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: 'Login to GitHub Container Registry'
18
+ uses: docker/login-action@v1
19
+ with:
20
+ registry: ghcr.io
21
+ username: ${{github.actor}}
22
+ password: ${{secrets.GITHUB_TOKEN}}
23
+ - name: Build the Docker image
24
+ run: docker build . --file Dockerfile --tag ghcr.io/int2001/dxclusterapi:latest
25
+ - name: Push the tagged Docker image
26
+ run: docker push ghcr.io/int2001/dxclusterapi:latest
0 commit comments