Skip to content

Commit

Permalink
CI: test the image built in this action
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Jun 10, 2024
1 parent 30eaf88 commit 1e374be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

- name: Test image
run: make test
run: make test IMAGE=${{ steps.meta.outputs.tags[1] }}
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ TARGET_FOLDER = publishing-artifacts

ARTICLE_INFO_FILE = $(OPENJOURNALS_PATH)/default-article-info.yaml

IMAGE = openjournals/inara:edge

.PHONY: all
all: cff pdf html jats crossref native preprint

Expand Down Expand Up @@ -48,7 +50,7 @@ $(TARGET_FOLDER):

.PHONY: docker-image
docker-image: Dockerfile
docker build --tag openjournals/inara:edge .
docker build --tag $(IMAGE) .

push-docker-image:
docker push openjournals/inara
Expand Down

0 comments on commit 1e374be

Please sign in to comment.