Skip to content

Commit

Permalink
💡 idea: Always refer to commit-tagged image in ci:build:image.
Browse files Browse the repository at this point in the history
Or could use
`echo "$DOCKER_METADATA" | jq -r '.tags[] | select(. | test("sha-"))'`.

See docker/metadata-action#164.
  • Loading branch information
make-github-pseudonymous-again committed Apr 19, 2024
1 parent 4d62366 commit 05bbc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci:build:image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
--env "MONGO_URL=${MONGO_URL}" \
--env "PORT=${PORT}" \
--name server \
${{ fromJSON(needs.build.outputs.server-image).tags[0] }}
ghcr.io/${{ github.repository }}:sha-${{ github.sha }}
- name: Retrieve server container IP address
id: server-container-ip-address
Expand Down

0 comments on commit 05bbc32

Please sign in to comment.