Skip to content

Merge pull request #12 from Neuman968/dockerPublishActions #7

Merge pull request #12 from Neuman968/dockerPublishActions

Merge pull request #12 from Neuman968/dockerPublishActions #7

Workflow file for this run

name: Docker Build and Push
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: false
tags: neuman314/pasteybin-builder:latest
build-args: |
DOCKER_USERNAME=${{secrets.DOCKERHUB_USERNAME }}
DOCKER_TOKEN=${{secrets.DOCKERHUB_TOKEN }}