Skip to content

Commit 600e132

Browse files
committed
Actions use built docker-images
1 parent f571b16 commit 600e132

File tree

2 files changed

+20
-63
lines changed

2 files changed

+20
-63
lines changed

.github/workflows/docker-release-github-action.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/docker-release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,23 @@ jobs:
6060
-t "${IMAGE_NAME}:4" \
6161
-t "${IMAGE_NAME}:latest" \
6262
.
63+
64+
cd github-action
65+
docker buildx build \
66+
--label "org.opencontainers.image.authors=https://github.com/mikefarah/yq/graphs/contributors" \
67+
--label "org.opencontainers.image.created=$(date --rfc-3339=seconds)" \
68+
--label "org.opencontainers.image.description=yq is a portable command-line YAML processor" \
69+
--label "org.opencontainers.image.documentation=https://mikefarah.gitbook.io/yq/" \
70+
--label "org.opencontainers.image.licenses=MIT" \
71+
--label "org.opencontainers.image.revision=$(git rev-parse HEAD)" \
72+
--label "org.opencontainers.image.source=https://github.com/mikefarah/yq" \
73+
--label "org.opencontainers.image.title=yq" \
74+
--label "org.opencontainers.image.url=https://mikefarah.gitbook.io/yq/" \
75+
--label "org.opencontainers.image.version=${IMAGE_VERSION}" \
76+
--platform "${PLATFORMS}" \
77+
--pull \
78+
--push \
79+
-t "${IMAGE_NAME}:${IMAGE_VERSION}-githubaction" \
80+
-t "${IMAGE_NAME}:4-githubaction" \
81+
-t "${IMAGE_NAME}:latest-githubaction" \
82+
.

0 commit comments

Comments
 (0)