Skip to content

Commit 53dc026

Browse files
authored
Rust to Docker Build
1 parent 87d139c commit 53dc026

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/rust.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
22+
push: true
23+
tags: ghcr.io/adaworldapi/your-service:latest

0 commit comments

Comments
 (0)