Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Oct 12, 2024
1 parent e809fc2 commit e4a3dc8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
release:
types: [ published ]
workflow_dispatch:
inputs:
version:
description: 'Version'
required: true

permissions:
id-token: write
Expand All @@ -18,6 +22,11 @@ jobs:
- name: Get version
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
if [ -n "$VERSION" ]; then
echo "RELEASE_VERSION=${{ inputs.version }}" >> $GITHUB_ENV
fi
env:
VERSION: ${{ inputs.version }}

- name: Build phar
run: php -d phar.readonly=0 bin/build -v"$RELEASE_VERSION"
Expand Down

0 comments on commit e4a3dc8

Please sign in to comment.