We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d139c commit 53dc026Copy full SHA for 53dc026
1 file changed
.github/workflows/rust.yml
@@ -0,0 +1,23 @@
1
+# .github/workflows/docker.yml
2
+name: Docker Build
3
+on:
4
+ push:
5
+ branches: [main]
6
+
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
12
+ packages: write
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: docker/login-action@v3
16
+ with:
17
+ registry: ghcr.io
18
+ username: ${{ github.actor }}
19
+ password: ${{ secrets.GITHUB_TOKEN }}
20
+ - uses: docker/build-push-action@v5
21
22
+ push: true
23
+ tags: ghcr.io/adaworldapi/your-service:latest
0 commit comments