Skip to content

PHP 8.1.30 (#131)

PHP 8.1.30 (#131) #106

Workflow file for this run

name: Publish
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4.2.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.6.1
-
name: Login to DockerHub
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v6.7.0
with:
context: .
push: true
tags: ${{ github.repository }}:latest
-
name: Update repo description
uses: peter-evans/dockerhub-description@v4.0.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ github.repository }}