Skip to content

Commit

Permalink
Fix securedev image
Browse files Browse the repository at this point in the history
  • Loading branch information
pyaillet committed Aug 23, 2024
1 parent eb30c0b commit 3ba0709
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions securedev-training-curlbot/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.PHONY: build-v1 push-v1 build-v2 push-v2 build push
image_name=ghcr.io/zenika-training/securedev-training-curlbot

build-v1: version=v1
build-v1: build

push-v1: version=v1
push-v1: build push

build-v2: version=v2
build-v2: build

push-v2: version=v2
push-v2: build push

build:
docker image build --build-arg VERSION=$(version) -t $(image_name):$(version) .

push:
docker image push $(image_name):$(version)

0 comments on commit 3ba0709

Please sign in to comment.