diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 87c8e15..491a2ce 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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 diff --git a/docker/Dockerfile b/docker/Dockerfile index 8f1c398..15dd303 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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"