From cfcb0e6e16390c45e001b5b69b5bfb673be50db4 Mon Sep 17 00:00:00 2001 From: joerivrij Date: Tue, 30 May 2023 10:48:38 +0200 Subject: [PATCH] Bumps action versions (#8) * Adds build on PR --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac74fbb..9c05233 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,9 +3,12 @@ name: ci on: push: branches: - - 'main' + - "main" tags: - "v*.*.*" + pull_request: + branches: + - "main" jobs: push-images: @@ -21,7 +24,6 @@ jobs: with: # list of Docker images to use as base name for tags images: | - vngr/token-seeder ghcr.io/VNG-Realisatie/token-seeder # generate Docker tags based on the following events/attributes tags: | @@ -42,10 +44,8 @@ jobs: - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: . - push: ${{ github.event_name != 'pull_request' }} + push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} -