Skip to content

Commit

Permalink
feat: use releaseworkflow for docker hub release
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuller88 committed Jan 26, 2021
1 parent 217e68a commit 4222ec8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,14 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: getVersion
run: JSON=$(cat ./version.json),echo "::set-output
name=version::${JSON//'%'/'%25'}"
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: damadden88/influxdb-s3-backup:latest
tags: damadden88/influxdb-s3-backup:${{fromJson(steps.getVersion.outputs.version).version}}

0 comments on commit 4222ec8

Please sign in to comment.