Merge pull request #70 from elixir-europe/mars-receipt-library #31
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 Push Docker image for BioSamples service | |
on: | |
push: | |
paths: | |
- "repository-services/isajson-biosamples/**" | |
pull_request: | |
paths: | |
- "repository-services/isajson-biosamples/**" | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build Docker image | |
uses: docker/build-push-action@v6 | |
with: | |
context: repository-services | |
file: repository-services/isajson-biosamples/Dockerfile | |
push: false | |
tags: user/app:latest |