diff --git a/.github/workflows/pipeline-release.yml b/.github/workflows/pipeline-release.yml index f1720ed..9921df3 100644 --- a/.github/workflows/pipeline-release.yml +++ b/.github/workflows/pipeline-release.yml @@ -48,6 +48,14 @@ jobs: - run: unzip -qq artifact_${{github.run_number}}.zip -d artifact + - name: Write semantic Version in config file + uses: jacobtomlinson/gha-find-replace@v3 + with: + find: "" + replace: "${{ steps.version.outputs.version }}" + regex: false + include: "artifact/config.mjs" + - name: Archive Release for application @@ -77,7 +85,7 @@ jobs: with: reponame: 'h2invent/jitsi-admin-matrix-bot' dockerfile_path: './Dockerfile' - directory: '.' + directory: 'artifact/' version: h2invent/jitsi-admin-matrix-bot:latest,h2invent/jitsi-admin-matrix-bot:${{ needs.create_release.outputs.create_release_output }} secrets: dockerhub_password: ${{ secrets.DOCKERHUB_TOKEN }}