Skip to content

Add parameter to add additional docker tags#45

Draft
jameslnewell wants to merge 2 commits into
seek-oss:masterfrom
mr-yum:feat/specify-docker-tags
Draft

Add parameter to add additional docker tags#45
jameslnewell wants to merge 2 commits into
seek-oss:masterfrom
mr-yum:feat/specify-docker-tags

Conversation

@jameslnewell
Copy link
Copy Markdown

@jameslnewell jameslnewell commented Aug 28, 2023

This PR adds a tags: <list> parameter to in order to enable tagging of images with additional docker tags.

This is useful if you want to be able to reference the image later in the pipeline e.g. from a docker-compose file

Example usage:

# pipeline.yml

steps:
  - command: echo wow
    plugins:
      - seek-oss/docker-ecr-cache#v2.0.0:
          ecr-name: <repository>
          tags:
            - build-${BUILDKITE_BUILD_NUMBER}
# docker-compose.yml

services:
  test:
    image: <registry>/<repository>:build-${BUILDKITE_BUILD_NUMBER}
    command: npm run test

@jameslnewell jameslnewell force-pushed the feat/specify-docker-tags branch 2 times, most recently from 9754ff4 to 3d8c0b6 Compare August 28, 2023 03:37
@jameslnewell jameslnewell force-pushed the feat/specify-docker-tags branch from 3d8c0b6 to 8a570e7 Compare August 28, 2023 03:43
@jameslnewell jameslnewell marked this pull request as ready for review August 28, 2023 03:43
@jameslnewell jameslnewell marked this pull request as draft August 28, 2023 04:15
@jameslnewell jameslnewell force-pushed the feat/specify-docker-tags branch from 2ac1177 to 99cca01 Compare August 28, 2023 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant