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 : Publish Frontend Image
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ workflow_dispatch :
9+
10+ jobs :
11+ publish :
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+
19+ - name : Set up Docker Buildx
20+ uses : docker/setup-buildx-action@v3
21+
22+ - name : Login to Docker Hub
23+ uses : docker/login-action@v3
24+ with :
25+ username : ${{ secrets.DOCKERHUB_USERNAME }}
26+ password : ${{ secrets.DOCKERHUB_TOKEN }}
27+
28+ - name : Build and push Client image
29+ uses : docker/build-push-action@v6
30+ with :
31+ context : .
32+ file : Dockerfile
33+ build-args : |
34+ BUILD_CONFIGURATION=development
35+ platforms : linux/amd64
36+ push : true
37+ tags : |
38+ diogopro/taskmanagement-client:latest
39+ diogopro/taskmanagement-client:sha-${{ github.sha }}
You can’t perform that action at this time.
0 commit comments