Skip to content

Commit

Permalink
Create php-site:latest
Browse files Browse the repository at this point in the history
  • Loading branch information
frepke authored Jun 9, 2021
1 parent 5998964 commit 5643a89
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: publish

on: [push]

jobs:
publish-php-site-image:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build the php-site Docker image
run: |
docker build . --tag ghcr.io/frepke/php-site:latest
docker run ghcr.io/frepke/php-site:latest
docker push ghcr.io/frepke/php-site:latest

0 comments on commit 5643a89

Please sign in to comment.