Skip to content

Commit

Permalink
bump library version
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Mar 19, 2024
1 parent 6a8d74e commit e92fe5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
- name: Checkout repo content
uses: actions/checkout@v2
- name: ooil version
uses: docker://itisfoundation/ci-service-integration-library:v1.0.3-dev-8
uses: docker://itisfoundation/ci-service-integration-library:v1.0.3-dev-10
with:
args: ooil --version
- name: Assemble docker compose spec
uses: docker://itisfoundation/ci-service-integration-library:v1.0.3-dev-8
uses: docker://itisfoundation/ci-service-integration-library:v1.0.3-dev-10
with:
args: ooil compose
- name: Build all images if multiple
uses: docker://itisfoundation/ci-service-integration-library:v1.0.3-dev-8
uses: docker://itisfoundation/ci-service-integration-library:v1.0.3-dev-10
with:
args: docker compose build
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ define _bumpversion
# upgrades as $(subst $(1),,$@) version, commits and tags
@docker run -it --rm -v $(PWD):/${DOCKER_IMAGE_NAME} \
-u $(shell id -u):$(shell id -g) \
itisfoundation/ci-service-integration-library:v1.0.3-dev-8 \
itisfoundation/ci-service-integration-library:v1.0.3-dev-10 \
sh -c "cd /${DOCKER_IMAGE_NAME} && bump2version --verbose --list --config-file $(1) $(subst $(2),,$@)"
endef

Expand All @@ -49,7 +49,7 @@ version-patch version-minor version-major: .bumpversion.cfg ## increases service
compose-spec: ## runs ooil to assemble the docker-compose.yml file
@docker run -it --rm -v $(PWD):/${DOCKER_IMAGE_NAME} \
-u $(shell id -u):$(shell id -g) \
itisfoundation/ci-service-integration-library:v1.0.3-dev-8 \
itisfoundation/ci-service-integration-library:v1.0.3-dev-10 \
sh -c "cd /${DOCKER_IMAGE_NAME} && ooil compose"

build: | compose-spec ## build docker image
Expand Down

0 comments on commit e92fe5b

Please sign in to comment.