Skip to content

bump bwa to match workflows #42

bump bwa to match workflows

bump bwa to match workflows #42

Workflow file for this run

name: Publish Docker image
on:
push:
branches-ignore:
- 'main'
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
-
name: Sanitize Repo Name for Tagging
run: echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]' | (read; echo REPO_LOWER=$REPLY) >> $GITHUB_ENV
-
name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: |
${{ env.REPO_LOWER }}
ghcr.io/${{ env.REPO_LOWER }}
tags: |
type=ref,event=branch,prefix=branch-
type=ref,event=pr
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GH_TOKEN }}
- name: Push to Docker Hub
uses: docker/build-push-action@v4
with:
push: true
tags: |
${{ steps.meta.outputs.tags }}