Skip to content

Commit 446ea21

Browse files
authored
Fix docker image publishing (#369)
1 parent c7e673d commit 446ea21

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.buildkite/pipeline.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ steps:
1818
command:
1919
- ".buildkite/scripts/build.sh {{matrix.makefile}}"
2020
- ".buildkite/scripts/publish.sh {{matrix.makefile}}"
21+
env:
22+
REPOSITORY: "${STAGING_IMAGE}"
2123
if: build.env("BUILDKITE_PULL_REQUEST") != "false"
2224
notify:
2325
- github_commit_status:

.buildkite/scripts/build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ with_mage
1414
google_cloud_auth
1515

1616
make -C go -f "${MAKEFILE}" build"${is_arm}" GS_BUCKET_PATH=ingest-buildkite-ci
17+
echo ":: List Docker images staging ::"
1718
docker images --format "table {{.Repository}}:{{.Tag}}\t{{.Size}}" --filter=reference="${STAGING_IMAGE}/golang-crossbuild"
19+
20+
echo ":: List Docker images production ::"
1821
docker images --format "table {{.Repository}}:{{.Tag}}\t{{.Size}}" --filter=reference="${DOCKER_REGISTRY}/beats-dev/golang-crossbuild"
1922

2023

.buildkite/scripts/post-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44

55
source .buildkite/scripts/common.sh
66

7-
TAG="v{$1}"
7+
TAG="v$1"
88
TAG_EXISTS=$(tag_Exists ${TAG})
99

1010
set_git_config() {

0 commit comments

Comments
 (0)