Skip to content

Merge pull request #213 from Commit451/dependabot/npm_and_yarn/follow… #42

Merge pull request #213 from Commit451/dependabot/npm_and_yarn/follow…

Merge pull request #213 from Commit451/dependabot/npm_and_yarn/follow… #42

name: 'Publish Docker image to Docker Hub'
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker login
run: 'docker login -u jawnnypoo -p ${{ secrets.DOCKER_HUB_PASSWORD }}'
- name: Build the Docker image
run: docker build . --file Dockerfile --tag commit451/skyhook:latest
- name: Push the Docker image
run: docker push commit451/skyhook