Update Dockerfile #59
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: Docker Build And Push To Docker Hub | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build and Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build Docker Image | |
id: buildAndPushImage | |
uses: MaximilianoBz/dockerhub-buildpush@v1.0 | |
with: | |
registry_url: 'docker.io' | |
repository_name: 'routing-socal' | |
user_name: 'sebmilardo' | |
password: ${{ secrets.DOCKER_TOKEN }} | |
image_version: 'latest' | |
docker_file: '.' | |
- name: Get pre step result output image_pull_url | |
run: echo "The time was ${{ steps.buildAndPushImage.outputs.image_pull_url }}" |