Update pip in testing to prevent GH action errors #244
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
name: Docker Build | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
jobs: | |
build-image: | |
runs-on: ubuntu-latest | |
name: Docker Image | |
steps: | |
- uses: actions/checkout@v4 | |
- id: imgtagger | |
run: | | |
imgtags=$(echo "${{ github.ref }}" | sed 's/refs\/tags\//latest,/; s/refs\/heads\///') | |
echo "::set-output name=imgtags::$imgtags" | |
- name: Build and Push to DockerHub | |
uses: docker/build-push-action@v6 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
repository: ${{ secrets.DOCKER_REPO }} | |
tags: "${{ steps.imgtagger.outputs.imgtags }}" |