Merge pull request #1004 from CONP-PCNO/revert-1001-conp-bot/Expressi… #260
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 and push. | |
on: | |
push: | |
paths: | |
- "projects/**" | |
- "tests/**" | |
branches: | |
- master | |
jobs: | |
build_push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to DockerHub | |
uses: docker/login-action@v3.0.0 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v5.2.0 | |
with: | |
push: true | |
tags: ${{ secrets.DOCKERHUB_REPOSITORY }} | |
- name: Image digest | |
run: echo ${{ steps.docker_build.outputs.digest }} |