Check that DN_CONVERTER_COMMAND is available #119
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 docker image | |
on: [push, pull_request] | |
jobs: | |
build-docker-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
- name: Docker meta | |
id: docker_meta | |
uses: docker/metadata-action@v4 | |
with: | |
images: indigoiam/voms-importer | |
tags: | | |
type=sha | |
type=semver,pattern={{raw}} | |
type=ref,event=branch | |
- name: Copy scripts to docker dir | |
run: cp vomsimporter.py .devcontainer/library-scripts/provide-vault.sh docker | |
- name: Build Docker image | |
uses: docker/build-push-action@v3 | |
with: | |
tags: ${{ steps.docker_meta.outputs.tags }} | |
context: ./docker | |
file: ./docker/Dockerfile | |
labels: ${{ steps.docker_meta.outputs.labels }} | |
push: ${{ startsWith(github.ref, 'refs/tags/') }} |