Skip to content

Merge pull request #212 from Commit451/dependabot/npm_and_yarn/axios-… #41

Merge pull request #212 from Commit451/dependabot/npm_and_yarn/axios-…

Merge pull request #212 from Commit451/dependabot/npm_and_yarn/axios-… #41

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