Skip to content

Merge pull request #6 from Neuman968/dockerPublishActions #1

Merge pull request #6 from Neuman968/dockerPublishActions

Merge pull request #6 from Neuman968/dockerPublishActions #1

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: |
ARG1=${{secrets.DOCKERHUB_USERNAME }}
ARG2=${{secrets.DOCKERHUB_TOKEN }}