-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTM-1173: Rename docker images to use the new Tailormap organisation (#…
…682) companion to Tailormap/tailormap-api#909
- Loading branch information
Showing
8 changed files
with
27 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
# uses: 'vlaurin/[email protected]' | ||
# with: | ||
# token: ${{ secrets.GHCR_CLEANUP_PAT }} | ||
# organization: B3Partners | ||
# organization: Tailormap | ||
# container: ${{ matrix.containers }} | ||
# dry-run: false | ||
# keep-younger-than: 7 | ||
|
@@ -29,7 +29,7 @@ jobs: | |
# uses: 'vlaurin/[email protected]' | ||
# with: | ||
# token: ${{ secrets.GHCR_CLEANUP_PAT }} | ||
# organization: B3Partners | ||
# organization: Tailormap | ||
# container: ${{ matrix.containers }} | ||
# dry-run: false | ||
# keep-younger-than: 28 | ||
|
@@ -40,7 +40,7 @@ jobs: | |
# uses: 'vlaurin/[email protected]' | ||
# with: | ||
# token: ${{ secrets.GHCR_CLEANUP_PAT }} | ||
# organization: B3Partners | ||
# organization: Tailormap | ||
# container: ${{ matrix.containers }} | ||
# dry-run: false | ||
# keep-younger-than: 28 | ||
|
@@ -68,6 +68,5 @@ jobs: | |
with: | ||
token: ${{ github.token }} | ||
repository: ${{ github.repository }} | ||
# same as "Artifact and log retention" in https://github.com/B3Partners/tailormap-viewer/settings/actions | ||
retain_days: 90 | ||
keep_minimum_runs: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,13 +22,13 @@ jobs: | |
|
||
- name: Build images | ||
run: | | ||
docker buildx build --pull --build-arg VERSION=snapshot --build-arg BASE_HREF=/ -t ghcr.io/b3partners/tailormap:snapshot . --load | ||
docker buildx build --pull --build-arg VERSION=snapshot --build-arg BASE_HREF=/ -t ghcr.io/tailormap/tailormap:snapshot . --load | ||
- name: Run Trivy vulnerability scanner on tailormap-viewer | ||
uses: 'aquasecurity/[email protected]' | ||
# docker run --rm -v trivy_cache:/root/.cache/ aquasec/trivy image ghcr.io/b3partners/tailormap:snapshot | ||
# docker run --rm -v trivy_cache:/root/.cache/ aquasec/trivy image ghcr.io/tailormap/tailormap:snapshot | ||
with: | ||
image-ref: 'ghcr.io/b3partners/tailormap:snapshot' | ||
image-ref: 'ghcr.io/tailormap/tailormap:snapshot' | ||
format: 'sarif' | ||
output: 'tailormap-trivy-results.sarif' | ||
severity: 'HIGH,CRITICAL' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,18 +17,18 @@ COPY . /app | |
|
||
RUN npm run build-localized -- --base-href=${BASE_HREF} | ||
|
||
FROM --platform=$BUILDPLATFORM ghcr.io/b3partners/tailormap-api:${API_VERSION} | ||
FROM --platform=$BUILDPLATFORM ghcr.io/tailormap/tailormap-api:${API_VERSION} | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" \ | ||
org.opencontainers.image.description="Tailormap" \ | ||
org.opencontainers.image.vendor="B3Partners BV" \ | ||
org.opencontainers.image.title="Tailormap" \ | ||
org.opencontainers.image.url="https://github.com/B3Partners/tailormap-viewer/" \ | ||
org.opencontainers.image.source="https://github.com/B3Partners/tailormap-viewer/" \ | ||
org.opencontainers.image.documentation="https://github.com/B3Partners/tailormap-viewer/" \ | ||
org.opencontainers.image.url="https://github.com/Tailormap/tailormap-viewer/" \ | ||
org.opencontainers.image.source="https://github.com/Tailormap/tailormap-viewer/" \ | ||
org.opencontainers.image.documentation="https://github.com/Tailormap/tailormap-viewer/" \ | ||
org.opencontainers.image.licenses="MIT" \ | ||
org.opencontainers.image.version="$VERSION" \ | ||
org.opencontainers.image.base.name="b3partners/tailormap-api:$API_VERSION" \ | ||
org.opencontainers.image.base.name="tailormap/tailormap-api:$API_VERSION" \ | ||
tailormap-api.version=$API_VERSION | ||
|
||
COPY --from=builder /app/dist/app static/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters