Skip to content

clean up and refactor #2

clean up and refactor

clean up and refactor #2

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches:
- main # or any other branch you want to trigger on
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: builder555
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push multi-platform Docker image
uses: docker/build-push-action@v2
with:
push: true
tags: builder555/pricewatch:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7