Skip to content

Commit

Permalink
Merge pull request #7 from PrestaShop/fix/github-action-names
Browse files Browse the repository at this point in the history
fix(GA): enhance naming and env
  • Loading branch information
jokesterfr authored Oct 10, 2023
2 parents 5800469 + 9090b30 commit 2796ff9
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ on:
type: string

jobs:
build:
build_and_publish:
name: Build and publish docker
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -70,10 +71,10 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
run: |
PLATFORM=${{ inputs.target_platforms }} \
PS_VERSION=${{ inputs.ps_version }} \
PHP_VERSION=${{ inputs.php_version }} \
PUSH=true \
TAG=${{ inputs.tag }} \
./build.sh
run: ./build.sh
env:
PLATFORM: ${{ inputs.target_platforms }}
PS_VERSION: ${{ inputs.ps_version }}
PHP_VERSION: ${{ inputs.php_version }}
TAG: ${{ inputs.tag }}
PUSH: true

0 comments on commit 2796ff9

Please sign in to comment.