* Add Pipeline version befor create artefact

This commit is contained in:
Entwicklung 2023-12-04 23:52:03 +01:00
parent 822e8486bc
commit a11176946b
2 changed files with 8 additions and 1 deletions

View file

@ -85,7 +85,7 @@ jobs:
with: with:
reponame: 'h2invent/jitsi-admin-matrix-bot' reponame: 'h2invent/jitsi-admin-matrix-bot'
dockerfile_path: './Dockerfile' dockerfile_path: './Dockerfile'
directory: 'artifact/' directory: '.'
version: h2invent/jitsi-admin-matrix-bot:latest,h2invent/jitsi-admin-matrix-bot:${{ needs.create_release.outputs.create_release_output }} version: h2invent/jitsi-admin-matrix-bot:latest,h2invent/jitsi-admin-matrix-bot:${{ needs.create_release.outputs.create_release_output }}
secrets: secrets:
dockerhub_password: ${{ secrets.DOCKERHUB_TOKEN }} dockerhub_password: ${{ secrets.DOCKERHUB_TOKEN }}

View file

@ -50,6 +50,13 @@ jobs:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Write semantic Version in config file
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "<version-addhere>"
replace: "${{ inputs.version }}"
regex: false
- name: Log in to Docker Hub - name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with: with: