Skip to content

Commit

Permalink
add version 24
Browse files Browse the repository at this point in the history
  • Loading branch information
KMicha committed Dec 17, 2024
1 parent d2c4cd1 commit b37d381
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/docker2024.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# This is a basic workflow to help you get started with Actions

name: dockerhub:2024.0

on:
push:
branches:
- 'main'
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string 1:00 weekly,Saturday,1:00 #m h d/m m d/w
- cron: '25 2 * * 0'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build for test
id: docker_build
uses: docker/build-push-action@v2
with:
file: ./Dockerfile24
push: true
tags: credocker/crephpdev:check24

-
name: Test
run: |
docker run credocker/crephpdev:check24 /cre/php-dev-test.sh
-
name: Build and push
id: docker_push
uses: docker/build-push-action@v2
with:
file: ./Dockerfile24
push: true
tags: credocker/crephpdev:2024.0



0 comments on commit b37d381

Please sign in to comment.