Create docker-way

This commit is contained in:
jstan-isch 2023-01-27 05:48:10 -06:00 committed by GitHub
parent 75e7cf9f59
commit 889c7c68fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

29
.github/workflows/docker-way vendored Normal file
View file

@ -0,0 +1,29 @@
name: ci
on:
push:
branches:
- 'master'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: user/app:latest