Skip to content

Commit

Permalink
Should fix rest of building issues (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrongestNumber9 authored Mar 14, 2024
1 parent 96cc9f1 commit dd96cdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
rpm/target/rpm/com.teragrep-pth_05/RPMS/noarch/com.teragrep-pth_05-*.noarch.rpm
rpm/target/rpm/com.teragrep-pth_05/RPMS/x86_64/com.teragrep-pth_05-*.rpm
target/pth_05-jar-with-dependencies.jar
- name: Set up Docker Buildx
Expand All @@ -56,5 +56,5 @@ jobs:

- name: 'Build Image'
run: |
docker buildx build --output type=docker --tag ghcr.io/${{ env.REPO_LC }}:${{ github.event.release.tag_name }} --tag ghcr.io/${{ env.REPO_LC }}:latest .
docker buildx build --output type=docker --tag ghcr.io/${{ env.REPO_LC }}:${{ github.event.release.tag_name }} --tag ghcr.io/${{ env.REPO_LC }}:latest . -f docker/Dockerfile
docker push ghcr.io/${{ env.REPO_LC }} --all-tags
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM centos:7
RUN yum -y install java-11-openjdk \
&& yum clean all

COPY docker/target/pth_05.rpm /
COPY rpm/target/rpm/com.teragrep-pth_05/RPMS/x86_64/com.teragrep-pth_05-*.rpm /rpm/
RUN yum install -y /pth_05.rpm

ENV PTH_05_ENDPOINT="http://0.0.0.0:8080"
Expand Down

0 comments on commit dd96cdf

Please sign in to comment.