Skip to content

Commit e28187c

Browse files
committed
ci: Add docker-master.yml workflow.
1 parent 6c8a0c1 commit e28187c

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "docker: Build and push ghcr.io/zeuswpi/tap:latest"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
concurrency:
9+
group: docker-master
10+
cancel-in-progress: true
11+
12+
jobs:
13+
docker-master:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v6
17+
18+
- uses: docker/setup-buildx-action@v3
19+
20+
- uses: docker/login-action@v3
21+
with:
22+
registry: ghcr.io
23+
username: ${{ github.actor }}
24+
password: ${{ github.token }}
25+
26+
- uses: docker/build-push-action@v6
27+
with:
28+
context: .
29+
file: Dockerfile.production
30+
push: true
31+
tags: |
32+
ghcr.io/zeuswpi/tap:latest
33+
ghcr.io/zeuswpi/tap:latest-${{ github.sha }}

0 commit comments

Comments
 (0)