Skip to content

Commit

Permalink
add version hint
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot committed Jul 16, 2023
1 parent 741eb63 commit 1e08162
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: "Bitwarden CLI version"
description: "bw version (just the numbers, e.g. 2023.7.0)"
required: true
type: string

Expand All @@ -24,6 +24,9 @@ jobs:
- name: docker login
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: docker build
run: docker build . --file Dockerfile --tag $DOCKER_USER/bw-cli:latest --tag $DOCKER_USER/bw-cli:${{ github.event.inputs.version }}
run: |
docker build . --file Dockerfile --tag $DOCKER_USER/bw-cli:latest \
--tag $DOCKER_USER/bw-cli:${{ github.event.inputs.version }} \
--tag $DOCKER_USER/bw-cli:v${{ github.event.inputs.version }}
- name: docker push
run: docker push $DOCKER_USER/bw-cli:latest

0 comments on commit 1e08162

Please sign in to comment.