Skip to content

Commit 803abc8

Browse files
authored
Update ci-cd.yml
1 parent 3e22b87 commit 803abc8

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ jobs:
1818
runs-on: ubuntu-latest
1919
name: Gradle Build and Publish to Container Registry
2020
steps:
21+
- name: Set up Docker Build
22+
uses: docker/setup-buildx-action@v1
23+
24+
- name: Login to GitHub Container Registry
25+
uses: docker/login-action@v1
26+
with:
27+
registry: ghcr.io
28+
username: ${{ github.actor }}
29+
password: ${{ secrets.GITHUB_TOKEN }}
30+
2131
- uses: actions/checkout@v3
2232
- name: Set up Zulu JDK 21
2333
uses: actions/setup-java@v4
@@ -29,16 +39,6 @@ jobs:
2939
run: |
3040
./gradlew build
3141
32-
- name: Set up Docker Build
33-
uses: docker/setup-buildx-action@v1
34-
35-
- name: Login to GitHub Container Registry
36-
uses: docker/login-action@v1
37-
with:
38-
registry: ghcr.io
39-
username: ${{ github.actor }}
40-
password: ${{ secrets.GITHUB_TOKEN }}
41-
4242
- name: Set up QEMU
4343
uses: docker/setup-qemu-action@v2
4444

0 commit comments

Comments
 (0)