Skip to content

feat: update nmr-load-save to version 0.28.0 (#75) #52

feat: update nmr-load-save to version 0.28.0 (#75)

feat: update nmr-load-save to version 0.28.0 (#75) #52

Workflow file for this run

# This worklflow will perform following actions when the code is pushed to the development branch:
# - Build the latest docker image in development which needs test to pass first.
# - Push the docker image to Docker Hub under namespace - nfdi4chem with tag:dev-latest.
#
# Maintainers:
# - name: Nisha Sharma
# - email: [email protected]
name : Dev Build, Test and Publish
on:
push:
branches: [development]
env:
DOCKER_HUB_USERNAME : ${{ secrets.DOCKER_USERNAME }}
DOCKER_HUB_PASSWORD : ${{ secrets.DOCKER_PASSWORD }}
NMRKIT_REPOSITORY_NAME: nmrkit
NMR_CLI_REPOSITORY_NAME: nmr-cli
REPOSITORY_NAMESPACE: nfdi4chem
RELEASE_TAG: dev-latest
jobs:
test_and_lint:
uses: NFDI4Chem/nmrkit/.github/workflows/test.yml@main
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
#needs: test_and_lint
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ env.DOCKER_HUB_USERNAME }}
password: ${{ env.DOCKER_HUB_PASSWORD }}
- name: Build and push nmrKit Docker image
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
build-args: |
RELEASE_VERSION=dev-latest
tags: ${{ env.REPOSITORY_NAMESPACE }}/${{ env.NMRKIT_REPOSITORY_NAME }}:${{ env.RELEASE_TAG }}
username: ${{ env.DOCKER_HUB_USERNAME }}
password: ${{ env.DOCKER_HUB_PASSWORD }}
- name: Build and push nmr-cli Docker image
uses: docker/build-push-action@v4
with:
context: ./app/scripts/nmr-cli/
file: ./app/scripts/nmr-cli/Dockerfile
push: true
build-args: |
RELEASE_VERSION=dev-latest
tags: ${{ env.REPOSITORY_NAMESPACE }}/${{ env.NMR_CLI_REPOSITORY_NAME }}:${{ env.RELEASE_TAG }}
username: ${{ env.DOCKER_HUB_USERNAME }}
password: ${{ env.DOCKER_HUB_PASSWORD }}