mirror of
https://github.com/MatthewL246/mitmproxy-pretendo.git
synced 2026-03-21 17:24:10 -05:00
Create Docker image build action
This commit is contained in:
parent
bfb5d01353
commit
d1f48199ba
24
.github/workflows/docker.yml
vendored
Normal file
24
.github/workflows/docker.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Build Docker image
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build the Docker image
|
||||
run: docker build . --tag mitmproxy-pretendo
|
||||
|
||||
- name: Save the Docker image
|
||||
run: docker save mitmproxy-pretendo -o mitmproxy-pretendo.tar
|
||||
|
||||
- name: Upload the Docker image
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: mitmproxy-pretendo-docker-image-${{ github.sha }}
|
||||
path: mitmproxy-pretendo.tar
|
||||
Loading…
Reference in New Issue
Block a user