Skip to content

Merge pull request #138 from aradhakrishnanGFDL/CompVal #1

Merge pull request #138 from aradhakrishnanGFDL/CompVal

Merge pull request #138 from aradhakrishnanGFDL/CompVal #1

Workflow file for this run

name: DockerHub Image Build and Push
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: docker login
env:
DOCKER_USER: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build the Docker image
run: docker build . --file Dockerfile --tag aparnadotnoaa/catalogbuilder-image:latest
- name: Docker Push
run: docker push aparnadotnoaa/catalogbuilder-image