File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,25 @@ jobs:
1717 - run : make build
1818 - run : make test
1919
20- # deploy:
21- # needs: build
22- # runs-on: ubuntu-latest
23- # if: ${{ github.event_name == 'push' }}
24- #
25- # steps:
26- # - uses: actions/checkout@v2
27- #
28- # - uses: docker/setup-buildx-action@v1
29- #
30- # - uses: docker/login-action@v1
31- # with:
32- # username: ${{ secrets.DOCKER_USERNAME }}
33- # password: ${{ secrets.DOCKER_PASSWORD }}
34- #
35- # - uses: docker/build-push-action@v2
36- # with:
37- # context: .
38- # push: true
39- # cache-from: hexletcomponents/java-spring-blog:latest
40- # cache-to: type=inline
41- # tags: hexletcomponents/java-spring-blog:latest
20+ deploy :
21+ needs : build
22+ runs-on : ubuntu-latest
23+ if : ${{ github.event_name == 'push' }}
24+
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ - uses : docker/setup-buildx-action@v3
29+
30+ - uses : docker/login-action@v3
31+ with :
32+ username : ${{ secrets.DOCKER_USERNAME }}
33+ password : ${{ secrets.DOCKER_PASSWORD }}
34+
35+ - uses : docker/build-push-action@v5
36+ with :
37+ context : .
38+ push : true
39+ cache-from : hexletcomponents/java-spring-blog:latest
40+ cache-to : type=inline
41+ tags : hexletcomponents/java-spring-blog:latest
You can’t perform that action at this time.
0 commit comments