Skip to content

Commit

Permalink
Add tag builds
Browse files Browse the repository at this point in the history
  • Loading branch information
toolmantim committed Jun 5, 2022
1 parent 4863441 commit 5070895
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
17 changes: 14 additions & 3 deletions .buildkite/pipeline.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,21 @@ steps:
plugins:
docker-compose#v3.9.0:
run: tests

- wait
- label: ":docker: :rocket:"

- label: ":docker: :rocket: Latest"
plugins:
docker-login#v2.1.0: ~
docker-compose#v3.9.0:
push: release
branches: main
push: latest
if: |
build.branch == 'main'
- label: ":docker: :rocket: Tag"
plugins:
docker-login#v2.1.0: ~
docker-compose#v3.9.0:
push: tag
if: |
build.tag != null
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ services:
build: .
volumes:
- "./tests/test-plugin:/plugin"
release:
latest:
build: .
image: buildkite/plugin-tester:latest
tag:
build: .
image: "buildkite/plugin-tester:${BUILDKITE_TAG}"

0 comments on commit 5070895

Please sign in to comment.