Skip to content

Commit

Permalink
Add github action to build Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Conradowatz authored Jan 18, 2024
1 parent 37a00ac commit 877fd76
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
tags:
- v**

jobs:

build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: DOcker meta
uses: docker/metadata-action@v5
with:
images: tls-attacker/anvil-web
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 877fd76

Please sign in to comment.