Skip to content

Commit

Permalink
try to force org.opencontainers.image.version...
Browse files Browse the repository at this point in the history
  • Loading branch information
mborne committed Feb 1, 2023
1 parent 18e3317 commit 10da66d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ jobs:
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: |
org.opencontainers.image.version=${{ matrix.version }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand Down
2 changes: 0 additions & 2 deletions img/13-3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM postgres:13

LABEL org.opencontainers.image.version=13-3

RUN apt-get update \
&& apt-get install -y postgresql-13-postgis-3 \
&& apt-get install -y postgresql-13-pgrouting \
Expand Down
2 changes: 0 additions & 2 deletions img/14-3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM postgres:14

LABEL org.opencontainers.image.version=14-3

RUN apt-get update \
&& apt-get install -y postgresql-14-postgis-3 \
&& apt-get install -y postgresql-14-pgrouting \
Expand Down

0 comments on commit 10da66d

Please sign in to comment.