We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c0694e commit 87b69b1Copy full SHA for 87b69b1
1 file changed
.github/workflows/docker.yaml
@@ -0,0 +1,33 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - "*"
5
+ tags:
6
7
+
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-22.04
11
+ steps:
12
+ -
13
+ name: Checkout
14
+ uses: actions/checkout@v4
15
16
+ name: Set up Docker Buildx
17
+ uses: docker/setup-buildx-action@v3
18
19
+ name: Login to Registry
20
+ uses: docker/login-action@v3
21
+ with:
22
+ registry: ghcr.io
23
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
24
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
25
26
+ name: Build and push
27
+ uses: docker/build-push-action@v6
28
29
+ context: .
30
+ file: ./Dockerfile
31
+ platforms: linux/amd64, linux/arm64
32
+ push: true
33
+ tags: ghcr.io/returntofirst/xunity-autotranslator-openai:latest
0 commit comments