Skip to content

Commit

Permalink
fixup! fixup! fixup! fix: error on print report
Browse files Browse the repository at this point in the history
  • Loading branch information
vrenaville committed Sep 26, 2024
1 parent 96e008e commit 3901cd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ jobs:
context: ./build
push: false
load: true
tags: ${{ steps.docker_meta.outputs.tags }}
tags: ci-5xx-latest:${{ matrix.odoo_serie }}
labels: ${{ steps.docker_meta.outputs.labels }}

- name: Test
run: export BASE_IMAGE=${{ matrix.odoo_serie }}:latest; make VERSION=${{ matrix.odoo_serie }} test
run: make VERSION=${{ matrix.odoo_serie }} test

- name: Login to GitHub Container Registry
if: github.event_name == 'push' || github.event_name == 'schedule'
Expand Down
32 changes: 1 addition & 31 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@ ifndef VERSION
$(error VERSION is not set)
endif

ifeq ($(TARGET), GHCR)
NAME=ghcr.io/camptocamp/docker-odoo-project
else
NAME=camptocamp/odoo-project
endif

IMAGE=$(NAME):$(VERSION)
IMAGE_LATEST=$(IMAGE)-latest
IMAGE_LATEST=ci-fxx-latest:${VERSION}
BUILD_TAG=$(IMAGE_LATEST)

export
Expand All @@ -20,29 +13,6 @@ all: build
setup:
bash setup.sh

.PHONY: build
build:
bash build.sh

.PHONY: tag
tag:
docker tag $(BUILD_TAG) $(IMAGE)-$(TAG)


.PHONY: push
push:
docker push $(IMAGE)-$(TAG)


.PHONY: tag_latest_main
tag_latest_main:
docker tag $(BUILD_TAG) $(NAME):latest


.PHONY: push_latest_main
push_latest_main:
docker push $(NAME):latest


.PHONY: test
test:
Expand Down

0 comments on commit 3901cd9

Please sign in to comment.