Skip to content

Update docker-image.yml #4

Update docker-image.yml

Update docker-image.yml #4

Workflow file for this run

name: Docker Image CI
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name : dockerhub login
env :
DOCKER_USER: ${{dockerhub.DOCKERHUB_USERNAME}}

Check failure on line 18 in .github/workflows/docker-image.yml

View workflow run for this annotation

GitHub Actions / Docker Image CI

Invalid workflow file

The workflow is not valid. .github/workflows/docker-image.yml (Line: 18, Col: 24): Unrecognized named-value: 'dockerhub'. Located at position 1 within expression: dockerhub.DOCKERHUB_USERNAME .github/workflows/docker-image.yml (Line: 19, Col: 28): Unrecognized named-value: 'dockerhub'. Located at position 1 within expression: dockerhub.DOCKERHUB_PASSWORD

Check failure on line 18 in .github/workflows/docker-image.yml

View workflow run for this annotation

GitHub Actions / Docker Image CI

Invalid workflow file

The workflow is not valid. .github/workflows/docker-image.yml (Line: 18, Col: 24): Unrecognized named-value: 'dockerhub'. Located at position 1 within expression: dockerhub.DOCKERHUB_USERNAME .github/workflows/docker-image.yml (Line: 19, Col: 28): Unrecognized named-value: 'dockerhub'. Located at position 1 within expression: dockerhub.DOCKERHUB_PASSWORD
DOCKER_PASSWORD: ${{dockerhub.DOCKERHUB_PASSWORD}}
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build the Docker image
run: |
docker build . --file Dockerfile --tag inraep2m2/sbml2rdf:${{ github.ref_name }}
docker build . --file Dockerfile --tag inraep2m2/sbml2rdf:latest
- name : Docker Push
run: |
docker push inraep2m2/sbml2rdf:${{ github.ref_name }}
docker push inraep2m2/sbml2rdf:latest