Skip to content

Commit

Permalink
Reenable image publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
amigus committed Mar 1, 2022
1 parent 373131c commit d93ac5c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ jobs:
registry=registry.hub.docker.com
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login $registry -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
make image REGISTRY="$registry/${{ secrets.DOCKER_USERNAME }}" VERSION=$version
make release REGISTRY="$registry/${{ secrets.DOCKER_USERNAME }}" VERSION=$version
docker logout
2 changes: 1 addition & 1 deletion .github/workflows/gpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
registry=docker.pkg.github.com
echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
make image REGISTRY="$registry/${{ github.repository }}" VERSION=$version
make release REGISTRY="$registry/${{ github.repository }}" VERSION=$version
docker logout
2 changes: 1 addition & 1 deletion .github/workflows/quay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ jobs:
registry=quay.io
echo "${{ secrets.QUAY_PASSWORD }}" | docker login $registry -u ${{ secrets.QUAY_USERNAME }} --password-stdin
make image REGISTRY="$registry/${{ secrets.QUAY_USERNAME }}" VERSION=$version
make release REGISTRY="$registry/${{ secrets.QUAY_USERNAME }}" VERSION=$version
docker logout
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ all: install

# Build the dsv-injector service container image 📦
image:
$(DOCKER) $(DOCKER_ARGS) build . -t $(NAME):$(VERSION) $(DOCKER_BUILD_ARGS)
$(DOCKER) $(DOCKER_ARGS) build . $(DOCKER_BUILD_ARGS) -t $(NAME):$(VERSION)

# Publish the image to $(REGISTRY)
release: image
$(DOCKER) $(DOCKER_ARGS) tag $(DOCKER_TAG_ARGS) $(NAME):$(VERSION) $(REGISTRY)/$(NAME):$(VERSION)
$(DOCKER) $(DOCKER_ARGS) push $(DOCKER_PUSH_ARGS) $(REGISTRY)/$(NAME):$(VERSION)

# Install the Helm chart using a roles.json file 📄
install:
Expand Down

0 comments on commit d93ac5c

Please sign in to comment.