Restore checks in test_add_file_when_different_file_with_same_name_ex… #131
Workflow file for this run
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: Build and publish image for branch | |
on: | |
push: | |
branches-ignore: | |
- 'master' | |
jobs: | |
docker-image-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out git repository | |
uses: actions/checkout@v4 | |
- name: Login to Docker Hub | |
uses: docker/#-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Create tags | |
id: create_tags | |
run: | | |
BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | tr "/" "-") | |
TAGS="clinicalgenomics/housekeeper:$BRANCH_NAME" | |
echo "TAGS=$TAGS" >> $GITHUB_ENV | |
- name: Build and Push Docker Image | |
uses: docker/build-push-action@v6 | |
with: | |
context: ./ | |
file: ./Dockerfile | |
push: true | |
tags: ${{ env.TAGS }} |