Skip to content

Commit 358f438

Browse files
committed
cicd: changed initial release version #minor
1 parent 4a04db0 commit 358f438

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/publish.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -87,35 +87,35 @@ jobs:
8787
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
8888
with:
8989
platforms: linux/${{ matrix.arch }}
90-
91-
- name: Build and push API Docker image
90+
91+
- name: Build and push Management Docker image
9292
uses: docker/build-push-action@v6
9393
with:
94-
context: ./api
95-
file: ./api/Dockerfile
94+
context: ./management
95+
file: ./management/Dockerfile
9696
platforms: linux/${{ matrix.arch }}
9797
push: true
9898
tags: |
99-
ghcr.io/${{ github.repository }}/api:${{ needs.release.outputs.new_tag }}
100-
ghcr.io/${{ github.repository }}/api:latest
99+
ghcr.io/${{ github.repository }}/management:${{ needs.release.outputs.new_tag }}
100+
ghcr.io/${{ github.repository }}/management:latest
101101
labels: ${{ steps.meta.outputs.labels }}
102-
cache-from: type=gha
102+
cache-from: type=gha
103103
cache-to: type=gha,mode=max
104104
provenance: false
105105
sbom: false
106-
107-
- name: Build and push Management Docker image
106+
107+
- name: Build and push API Docker image
108108
uses: docker/build-push-action@v6
109109
with:
110-
context: ./management
111-
file: ./management/Dockerfile
110+
context: ./api
111+
file: ./api/Dockerfile
112112
platforms: linux/${{ matrix.arch }}
113113
push: true
114114
tags: |
115-
ghcr.io/${{ github.repository }}/management:${{ needs.release.outputs.new_tag }}
116-
ghcr.io/${{ github.repository }}/management:latest
115+
ghcr.io/${{ github.repository }}/api:${{ needs.release.outputs.new_tag }}
116+
ghcr.io/${{ github.repository }}/api:latest
117117
labels: ${{ steps.meta.outputs.labels }}
118-
cache-from: type=gha
118+
cache-from: type=gha
119119
cache-to: type=gha,mode=max
120120
provenance: false
121121
sbom: false

0 commit comments

Comments
 (0)