Skip to content

Commit

Permalink
update docker action
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhem committed Dec 11, 2020
1 parent 73b58fa commit c8cc14a
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,24 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
uses: docker/build-push-action@v1

- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: ghcr.io/guilhem/rss-issues-action
tag-sha: true

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
repository: guilhem/rss-issues-action
tag_with_ref: true
username: ${{ github.actor }}
password: ${{ github.token }}

- name: Push to GitHub Packages
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}

0 comments on commit c8cc14a

Please sign in to comment.