Skip to content

Changing userna,e

Changing userna,e #1

Workflow file for this run

name: Build and Publish image to Docker Hub
on:
push:
branches:
- main
jobs:
publish_images:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: build image
run: |
docker build -t davepsandy/portfolio:latest .
- name: push image to docker hub
run: |
docker login -u davepaulsanders -p ${{ secrets.DOCKER_HUB_TOKEN }}
docker push davepsandy/portfolio:latest