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 36f966f commit 7b1dc0a
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions securedev-training-curlbot/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
.PHONY: build-v1 push-v1 build-v2 push-v2 build push
.PHONY: build push
image_name=ghcr.io/zenika-training/securedev-training-curlbot:v1

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) .
docker image build -t $(image_name) .

push: build
docker image push $(image_name)

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

0 comments on commit 7b1dc0a

Please sign in to comment.