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 & Push Test Image
2+
3+ on :
4+ push :
5+ branches :
6+ - " **"
7+ workflow_dispatch :
8+
9+ jobs :
10+ build-and-push :
11+ runs-on : ubuntu-latest
12+
13+ permissions :
14+ contents : read
15+
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@692973e3d4576b0f5d0599d1e0e6f2937d4493f0 # v4.1.7
19+ with :
20+ persist-credentials : false
21+
22+ - name : Login to Docker Hub
23+ uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
24+ with :
25+ username : ${{ secrets.DOCKERHUB_USERNAME }}
26+ password : ${{ secrets.DOCKERHUB_TOKEN }}
27+
28+ - name : Set up Docker Buildx
29+ uses : docker/setup-buildx-action@67195c692f47f299d1d640ba35f272c97396e377 # v3.8.0
30+
31+ - name : Build and push test image
32+ uses : docker/build-push-action@5cd11c8b1c2b52fee3dd674ba58e50631f648732 # v6.6.1
33+ with :
34+ context : tee_launcher/launcher-test-image
35+ file : tee_launcher/launcher-test-image/Dockerfile
36+ push : true
37+ tags : |
38+ nearone/testing:latest
39+ nearone/testing:${{ github.sha }}
You can’t perform that action at this time.
0 commit comments