ci: added a test deploy workflow
Build and Deploy / docker (push) Has been cancelled
Details
Build and Deploy / docker (push) Has been cancelled
Details
This commit is contained in:
parent
f49205a2c6
commit
61b3ebb449
|
@ -0,0 +1,25 @@
|
||||||
|
name: Build and Deploy
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "master"
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Build
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
load: true
|
||||||
|
tags: nerdcult_frontend:latest
|
||||||
|
- name: Inspect
|
||||||
|
run: |
|
||||||
|
docker image inspect nerdcult_frontend:latest
|
Loading…
Reference in New Issue