Merge pull request #161 from ClearcodeHQ/dependabot/docker/python-3.1… #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Publish Docker image | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
push_doctools_to_registry: | |
name: Push Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/[email protected] | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_ACCESS_TOKEN }} | |
- name: Build and push Docktools docker image | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
push: true | |
file: Dockerfile.doctools | |
tags: clearcode/pyziomkidoctools:latest | |
- name: Build and push Releasetools docker image | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
push: true | |
file: Dockerfile.releasetools | |
tags: clearcode/pyziomkireleasetools:latest |