File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Automatically update teuthology-api:main image on quay.io/ceph-infra/teuthology-api
2
+ name : Push Container to Quay
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ workflow_dispatch :
8
+
9
+ jobs :
10
+ docker :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ - name : Set up QEMU
16
+ uses : docker/setup-qemu-action@v3
17
+ - name : Set up Docker Buildx
18
+ uses : docker/setup-buildx-action@v3
19
+ - name : Login to Quay.io
20
+ uses : docker/login-action@v3
21
+ with :
22
+ registry : quay.io
23
+ username : ${{ secrets.QUAY_USERNAME }}
24
+ password : ${{ secrets.QUAY_ROBOT_TOKEN }}
25
+ - name : Build and push
26
+ uses : docker/build-push-action@v5
27
+ with :
28
+ context : .
29
+ file : Dockerfile
30
+ platforms : linux/amd64,linux/arm64
31
+ push : true
32
+ # QUAY_URI is set using https://github.com/ceph/teuthology-api/settings/variables/actions
33
+ tags : ${{ vars.QUAY_URI }}:${{ github.ref_name }}
34
+ outputs : type=image,name=target
You can’t perform that action at this time.
0 commit comments