Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Attempt to fix labelling in docker workflow (#16009)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson authored Jul 27, 2023
1 parent f98f4f2 commit f9f3e89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ jobs:

- name: Inspect builder
run: docker buildx inspect


- name: Checkout repository
uses: actions/checkout@v3

- name: Extract version from pyproject.toml
# Note: explicitly requesting bash will mean bash is invoked with `-eo pipefail`, see
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: bash
run: |
echo "SYNAPSE_VERSION=$(grep "^version" pyproject.toml | sed -E 's/version\s*=\s*["]([^"]*)["]/\1/')" >> $GITHUB_ENV
Expand Down
1 change: 1 addition & 0 deletions changelog.d/16009.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add `org.opencontainers.image.version` labels to Docker containers [published by Matrix.org](https://hub.docker.com/r/matrixdotorg/synapse). Contributed by Mo Balaa.

0 comments on commit f9f3e89

Please sign in to comment.