Skip to content

Commit

Permalink
Create publish_docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardo-navarro authored Feb 8, 2021
1 parent 98d902f commit fe57109
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Docker image

on:
workflow_dispatch:
# 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.GH_CONTAINER_REGISTRY_PERSONAL_ACCESS_TOKEN }}
registry: ghcr.io
repository: mindwendel/mindwendel/mindwendel_github_workflow
tag_with_ref: true

0 comments on commit fe57109

Please sign in to comment.