Merge pull request #212 from Commit451/dependabot/npm_and_yarn/axios-… #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |