Use local Docker image in e2e pipeline and rebuild image if necessary

This commit is contained in:
Sebastian Serth
2022-09-18 01:51:50 +02:00
committed by Sebastian Serth
parent 7454e577e4
commit 69237fb415
5 changed files with 32 additions and 32 deletions

View File

@@ -51,16 +51,3 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Extract metadata (tags, labels) for Docker e2e image
id: e2e-meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-e2e-tests
- name: Build and push e2e Docker image
uses: docker/build-push-action@v2
with:
context: .
file: deploy/e2e-test-image/Dockerfile
push: true
tags: ${{ steps.e2e-meta.outputs.tags }}
labels: ${{ steps.e2e-meta.outputs.labels }}