Skip to content

Commit

Permalink
test:tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
lecaoquochung committed Jan 7, 2025
1 parent ffad454 commit 2561c08
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,16 +362,24 @@ jobs:
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

# job build php beta manual
# docker build . --file ${{ env.DOCKERFILE_PHP_BETA }} --tag "php:$(date +%s)"
# docker run -d --name php_container "php:$(date +%s)"
build-php-beta-manual:
name: '[Manual] Build PHP beta'
needs: manual
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: php-fpm
run: docker build . --file ${{ env.DOCKERFILE_PHP_BETA }} --tag "php:$(date +%s)"
run: |
docker build --help
docker build . --file ${{ env.DOCKERFILE_PHP_BETA }} --tag "${{ env.IMAGE_PHP_BETA }}-${{ env.DATETIME }}"
- name: Start Docker container
run: docker run -d --name php_container "php:$(date +%s)"
run: |
docker images
docker run --help
# docker run -d --name php_container "${{ env.IMAGE_PHP_BETA }}-${{ env.DATETIME }}"
- name: Verify build
run: docker exec php_container cat /etc/os-release

Expand Down

0 comments on commit 2561c08

Please sign in to comment.