mirror of
https://github.com/kieraneglin/pinchflat.git
synced 2026-01-23 02:24:24 +00:00
Docker build action (round 2) (#34)
* Added first attempt at dockerfile * Added workflow dispatch [skip ci] * Trying PR trigger just for now [skip ci] * Trying some more [skip ci] * Revert for merge
This commit is contained in:
parent
610acb15f1
commit
ab9b657394
1 changed files with 30 additions and 0 deletions
30
.github/workflows/build_and_push_docker.yml
vendored
Normal file
30
.github/workflows/build_and_push_docker.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
file: ./selfhosted.Dockerfile
|
||||
tags: keglin/pinchflat:dev
|
||||
Loading…
Add table
Add a link
Reference in a new issue