Skip to content

Commit

Permalink
#39 [docker public hub] fix: change workflow info
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Aug 4, 2024
1 parent 97d9210 commit f81ce1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/php-docker-public.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Publish Docker image
name: Publish PHP Docker image

on: [push]

permissions:
contents: write

env:
IMAGE_NAME: ${{ secrets.IMAGE_NAME }}
IMAGE_NAME: blog-php
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}

Expand All @@ -30,7 +30,7 @@ jobs:
push_to_registry:
if: github.event_name != 'pull_request'
name: Build and push Docker image
name: Build and push PHP image
needs: shellcheck
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=raw,value=${{ steps.inc_version.outputs.new_version }}
- name: Build and push Docker image
- name: Build and push PHP image
id: build-and-push
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit f81ce1f

Please sign in to comment.