Skip to content

Commit d11a7a9

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into develop
2 parents 66f454b + 75bea4c commit d11a7a9

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

.github/workflows/build_container_image.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ env:
88
DOCKER_HUB_ORGANIZATION: ${{ vars.DOCKER_HUB_ORGANIZATION }}
99
DOCKER_HUB_REPOSITORY: api-explorer-ii
1010

11-
1211
jobs:
1312
build:
1413
runs-on: ubuntu-latest
@@ -21,6 +20,25 @@ jobs:
2120
- uses: actions/checkout@v4
2221
- name: Build the Docker image with latest tag
2322
run: |
24-
docker build . --file Dockerfiles/Dockerfile_backend --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}:$GITHUB_SHA --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}:${{ steps.extract_branch.outputs.branch }} --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}:latest
25-
docker build . --file Dockerfiles/Dockerfile_frontend --tag docker.io/simon-loacl/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:$GITHUB_SHA --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:${{ steps.extract_branch.outputs.branch }} --tag docker.io/simon-local/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:latest
23+
echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin docker.io
24+
docker build . --file Dockerfiles/Dockerfile_backend --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}:$GITHUB_SHA --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}:${{ steps.extract_branch.outputs.branch }} --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}:latest
25+
docker build . --file Dockerfiles/Dockerfile_frontend --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:$GITHUB_SHA --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:${{ steps.extract_branch.outputs.branch }} --tag docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}-nginx:latest
2626
echo docker api-explorer-ii with latest tag done
27+
28+
docker push docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }} --all-tags
29+
docker push docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}-nginx --all-tags
30+
echo docker push api-explorer-ii with latest tag done
31+
32+
- uses: sigstore/cosign-installer@main
33+
- name: Write signing key to disk (only needed for `cosign sign --key`)
34+
run: echo "${{ secrets.COSIGN_PRIVATE_KEY }}" > cosign.key
35+
- name: Sign container image with annotations from our environment
36+
env:
37+
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
38+
run: |
39+
cosign sign -y --key cosign.key \
40+
-a "repo=${{ github.repository }}" \
41+
-a "workflow=${{ github.workflow }}" \
42+
-a "ref=${{ github.sha }}" \
43+
docker.io/${{ env.DOCKER_HUB_ORGANIZATION }}/${{ env.DOCKER_HUB_REPOSITORY }}:${{ steps.extract_branch.outputs.branch }}
44+

src/components/HeaderNav.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const banksDropdownLabel = computed(() => {
8484
})
8585
8686
// Split versions into main and other
87-
const mainVersions = ['BGv1.3', 'OBPv5.1.0', 'OBPv6.0.0', 'UKv3.1', 'dynamic-endpoints', 'dynamic-entities', 'OBPdynamic-endpoint', 'OBPdynamic-entity']
87+
const mainVersions = ['BGv1.3', 'BGv2', 'OBPv5.1.0', 'OBPv6.0.0', 'UKv3.1', 'dynamic-endpoints', 'dynamic-entities', 'OBPdynamic-endpoint', 'OBPdynamic-entity']
8888
const sortedVersions = computed(() => {
8989
const all = obpApiVersions.value || []
9090
console.log('All available versions:', all)

0 commit comments

Comments
 (0)