We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73c2ee8 commit a9aa87eCopy full SHA for a9aa87e
.github/workflows/publish.yaml
@@ -0,0 +1,25 @@
1
+name: publish
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+env:
9
+ cache-registry: 'docker-registry-cache.docker-registry.svc:5000'
10
11
+jobs:
12
+ build:
13
+ runs-on: [self-hosted, pod]
14
+ steps:
15
+ - uses: actions/checkout@v2
16
17
+ - name: Login registry.smtx.io
18
+ uses: docker/login-action@v2
19
+ with:
20
+ registry: registry.smtx.io
21
+ username: ${{ secrets.HARBOR_PUSH_USERNAME }}
22
+ password: ${{ secrets.HARBOR_PUSH_TOKEN }}
23
24
+ - name: Build and push latest image
25
+ run: TAG_SUFFIX=latest docker buildx bake "https://github.com/everoute/actions-runner-controller.git#main"
0 commit comments