Skip to content

Commit

Permalink
build: fix publish (#1483)
Browse files Browse the repository at this point in the history
* doc: fix badge in readme
* build: fix publish
  • Loading branch information
subotic authored Oct 21, 2019
1 parent f7d52eb commit ca7e1c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions KnoraBuild.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ lazy val knoraGraphDbSe: Project = knoraModule("knora-graphdb-se")
Cmd("FROM", "ontotext/graphdb:8.5.0-se"),
Cmd("LABEL", s"""MAINTAINER="${maintainer.value}""""),
Cmd("COPY", "opt/docker/scripts", "/scripts"),
ExecCmd("RUN", "mkdir -p /graphdb && cp /scripts/KnoraRules.pie /graphdb/KnoraRules.pie && rm -rf /scripts"),
Cmd("RUN", "mkdir -p /graphdb && cp /scripts/KnoraRules.pie /graphdb/KnoraRules.pie && rm -rf /scripts"),
)
)

Expand Down Expand Up @@ -261,7 +261,7 @@ lazy val knoraGraphdbFree: Project = knoraModule("knora-graphdb-free")
Cmd("FROM", "dhlabbasel/graphdb:8.10.0-free"),
Cmd("LABEL", s"""MAINTAINER="${maintainer.value}""""),
Cmd("COPY", "opt/docker/scripts", "/scripts"),
ExecCmd("RUN", "mkdir -p /graphdb && cp /scripts/KnoraRules.pie /graphdb/KnoraRules.pie && rm -rf /scripts"),
Cmd("RUN", "mkdir -p /graphdb && cp /scripts/KnoraRules.pie /graphdb/KnoraRules.pie && rm -rf /scripts"),
)
)

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ publish-knora-salsah1-image: build-knora-salsah1-image ## publish knora-salsah1
build-knora-upgrade-image: build-all-scala ## build and publish knora-upgrade docker image locally
docker build -t $(KNORA_UPGRADE_IMAGE) -t $(REPO_PREFIX)/$(KNORA_UPGRADE_REPO):latest -f docker/knora-upgrade.dockerfile upgrade/target/universal

.PHONY: publish-knora-upgrade
publish-knora-upgrade: build-knora-upgrade-image ## publish knora-upgrade image to Dockerhub
.PHONY: publish-knora-upgrade-image
publish-knora-upgrade-image: build-knora-upgrade-image ## publish knora-upgrade image to Dockerhub
docker push $(KNORA_UPGRADE_IMAGE)

## knora-assets
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/dasch-swiss/knora-api.svg?branch=develop)](https://travis-ci.org/dhlab-basel/Knora)
[![Build Status](https://travis-ci.com/dasch-swiss/knora-api.svg?branch=develop)](https://travis-ci.com/dasch-swiss/knora-api)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7e7c734a37ef403a964345e29106b267)](https://app.codacy.com/app/dhlab-basel/Knora?utm_source=github.com&utm_medium=referral&utm_content=dhlab-basel/Knora&utm_campaign=Badge_Grade_Dashboard)
# Knora

Expand Down

0 comments on commit ca7e1c7

Please sign in to comment.