Skip to content

Commit

Permalink
Publish container on new release
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Apr 15, 2021
1 parent f41c61a commit 824c53c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test kcov action
name: test build container
on: [push]

jobs:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish Docker image
on:
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: sudo-bot/gh-deployer-container/phpmyadmin
tag_with_ref: true

0 comments on commit 824c53c

Please sign in to comment.