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 : Build AudioMediaChecker
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ paths :
7+ - ' AudioMediaChecker/**'
8+ - ' .github/workflows/build-audiomedia-checker.yml'
9+ workflow_dispatch :
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - uses : docker/setup-buildx-action@v3
18+
19+ - uses : docker/login-action@v3
20+ with :
21+ username : ${{ secrets.DOCKERHUB_USERNAME }}
22+ password : ${{ secrets.DOCKERHUB_TOKEN }}
23+
24+ - uses : docker/build-push-action@v5
25+ with :
26+ context : ./AudioMediaChecker
27+ platforms : linux/amd64,linux/arm64
28+ push : true
29+ tags : |
30+ ${{ secrets.DOCKERHUB_USERNAME }}/audiomedia-checker:latest
31+ ${{ secrets.DOCKERHUB_USERNAME }}/audiomedia-checker:${{ github.sha }}
32+ cache-from : type=gha
33+ cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments