mirror of
https://github.com/ivuorinen/docker-php-with-imagick.git
synced 2026-01-26 11:34:08 +00:00
Update docker-image.yml
Publish actions
This commit is contained in:
13
.github/workflows/docker-image.yml
vendored
13
.github/workflows/docker-image.yml
vendored
@@ -12,10 +12,15 @@ on:
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag php-imagick:$(date +%s)
|
||||
- name: Publish to Registry
|
||||
uses: elgohr/Publish-Docker-Github-Action@master
|
||||
with:
|
||||
name: ivuorinen/docker-php-with-imagick
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
default_branch: main
|
||||
tags: "latest,php74"
|
||||
cache: ${{ github.event_name != 'schedule' }}
|
||||
|
||||
Reference in New Issue
Block a user