We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5976960 commit f2d28faCopy full SHA for f2d28fa
1 file changed
.github/workflows/build-and-push.yml
@@ -22,6 +22,14 @@ jobs:
22
username: ${{ secrets.DOCKER_REGISTRY_LOGIN }}
23
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
24
25
+ - name: Login to Twir registry
26
+ if: steps.changed-files.outputs.any_changed == 'true' || github.event.inputs.skip-change-detect == 'true'
27
+ uses: docker/login-action@v3
28
+ with:
29
+ registry: registry.twir.app
30
+ username: ${{ secrets.DOCKER_TWIR_LOGIN }}
31
+ password: ${{ secrets.DOCKER_TWIR_PASSWORD }}
32
+
33
- name: Set up Docker Buildx
34
uses: docker/setup-buildx-action@v3
35
@@ -31,6 +39,7 @@ jobs:
39
platforms: linux/amd64,linux/arm64
40
tags: |
41
twirapp/toxicity-detector:latest
42
+ registry.twir.app/twirapp/toxicity-detector:latest
43
push: true
44
cache-from: type=gha
36
45
cache-to: type=gha,mode=max
0 commit comments