Skip to content

Commit 5c5e758

Browse files
committed
move catalog to sub-dir
1 parent 6abfbd3 commit 5c5e758

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040
uses: docker/build-push-action@v2
4141
with:
4242
tags: ${{ steps.docker_meta.outputs.tags }}
43-
file: cool-catalog.Dockerfile
43+
file: catalog.Dockerfile
4444
context: .
4545

4646
- name: Push image
4747
uses: docker/build-push-action@v2
4848
with:
4949
push: true
5050
tags: ${{ steps.docker_meta.outputs.tags }}
51-
file: cool-catalog.Dockerfile
51+
file: catalog.Dockerfile
5252
context: .

.github/workflows/build-verify-on-PR.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
uses: docker/build-push-action@v2
3434
with:
3535
tags: ${{ steps.docker_meta.outputs.tags }}
36-
file: cool-catalog.Dockerfile
36+
file: catalog.Dockerfile
3737
context: .
3838

3939
validate:
4040
runs-on: quay.io/operator-framework/opm:latest
4141
steps:
4242
- uses: actions/checkout@v2
43-
- run: opm validate $GITHUB_WORKSPACE
43+
- run: opm validate $GITHUB_WORKSPACE/catalog/
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ FROM quay.io/operator-framework/opm:latest
44

55
# Configure the entrypoint and command
66
ENTRYPOINT ["/bin/opm"]
7-
CMD ["serve", "/configs"]
7+
CMD ["serve", "/catalog"]
88

99
# Copy declarative config root into image at /configs
10-
ADD . /configs
10+
ADD catalog /catalog
1111

12-
# Set DC-specific label for the location of the DC root directory
12+
# Set label for the location of the catalog root directory
1313
# in the image
14-
LABEL operators.operatorframework.io.index.configs.v1=/configs
14+
LABEL operators.operatorframework.io.index.configs.v1=/catalog

0 commit comments

Comments
 (0)