This repository was archived by the owner on Oct 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ci
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ docker :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v3
13+ - name : Set up QEMU
14+ uses : docker/setup-qemu-action@v2
15+ - name : Set up Docker Buildx
16+ uses : docker/setup-buildx-action@v2
17+ # - name: Login to Docker Hub
18+ # uses: docker/login-action@v2
19+ # with:
20+ # username: ${{ secrets.DOCKERHUB_USERNAME }}
21+ # password: ${{ secrets.DOCKERHUB_PASSWORD }}
22+ - name : Login to GitHub Docker Registry
23+ uses : docker/login-action@v2
24+ with :
25+ registry : ghcr.io
26+ username : ${{ github.repository_owner }}
27+ password : ${{ secrets.GITHUB_TOKEN }}
28+ # - name: Build and push
29+ # uses: docker/build-push-action@v3
30+ # with:
31+ # context: .
32+ # platforms: linux/amd64,linux/arm64
33+ # push: true
34+ # tags: updatecli/updatemonitor-ui:${{ github.event.release.tag_name }}
35+ - name : Build and push on ghcr.io
36+ uses : docker/build-push-action@v3
37+ with :
38+ context : .
39+ platforms : linux/amd64,linux/arm64
40+ push : true
41+ tags : ghcr.io/updatecli/updatemonitor-ui:${{ github.event.release.tag_name }}
You can’t perform that action at this time.
0 commit comments