Skip to content

Commit

Permalink
introduce dockerhub environment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjanovsky committed Nov 27, 2023
1 parent 4e64eed commit c7e7303
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
docker_release:
name: Release on DockerHub
environment:
name: dockerhub
url: https://hub.docker.com/r/seccerts/sec-certs/
runs-on: ubuntu-latest
if: github.repository == 'crocs-muni/sec-certs'
steps:
Expand Down Expand Up @@ -60,3 +63,9 @@ jobs:
file: Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
- name: Update dockerhub description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: seccerts/sec-certs

0 comments on commit c7e7303

Please sign in to comment.