Skip to content

Commit

Permalink
Changed orb used for docker publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-e-dietrich committed Jan 10, 2024
1 parent 43c1070 commit ec346c7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ build-items: &build-items
docker-username: DOCKERHUB_USER
docker-password: DOCKERHUB_PASS
context: kanopi-code
platform: linux/amd64,linux/arm64
before_build:
- run:
name: Generate Build Tag
Expand All @@ -18,7 +19,7 @@ build-items: &build-items

orbs:
ci-tools: kanopi/ci-tools@2
docker: circleci/docker@2.2
docker: kanopi/docker@1

jobs:
phpunit:
Expand Down Expand Up @@ -120,7 +121,7 @@ workflows:
ignore: /.*/
branches:
only: /.*/
- docker/publish:
- docker/publishx:
<<: *build-items
name: "Create edge version"
tag: edge
Expand All @@ -129,7 +130,7 @@ workflows:
only: main
tags:
ignore: /.*/
- docker/publish:
- docker/publishx:
<<: *build-items
name: "Create edge version"
tag: "edge--${CIRCLE_SHA1:0:7}"
Expand All @@ -138,7 +139,7 @@ workflows:
only: main
tags:
ignore: /.*/
- docker/publish:
- docker/publishx:
<<: *build-items
name: "Create build image"
tag: 'build--${CUSTOM_BRANCH}--${CIRCLE_SHA1:0:7}'
Expand All @@ -147,7 +148,7 @@ workflows:
ignore: main
tags:
ignore: /.*/
- docker/publish:
- docker/publishx:
<<: *build-items
name: "Create latest build image"
tag: 'build--${CUSTOM_BRANCH}'
Expand All @@ -156,7 +157,7 @@ workflows:
ignore: main
tags:
ignore: /.*/
- docker/publish:
- docker/publishx:
<<: *build-items
requires: []
name: "Create new Version Tag"
Expand All @@ -166,7 +167,7 @@ workflows:
ignore: /.*/
tags:
only: /.*/
- docker/publish:
- docker/publishx:
<<: *build-items
requires: []
name: "Create Latest Tag"
Expand Down

0 comments on commit ec346c7

Please sign in to comment.