Skip to content

Commit

Permalink
updated publish workflow.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Shanley <dave@quobix.com>
  • Loading branch information
daveshanley committed Jun 4, 2023
1 parent 0d0104c commit f963bb2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,21 +80,21 @@ jobs:
uses: actions/checkout@v3

- name: Log in to Docker Hub
uses: docker/#-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/#-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Log in to the Container registry
uses: docker/#-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/#-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.GH_PAT }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: |
pb33f/wiretap
Expand All @@ -105,4 +105,6 @@ jobs:
with:
context: .
push: true
tags: pb33f/wiretap:latest
tags: pb33f/wiretap:${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ./Dockerfile

0 comments on commit f963bb2

Please # to comment.