From d9724144a03f12f6b43b02aac834c1e2d4ce3743 Mon Sep 17 00:00:00 2001 From: Denis Biondic Date: Thu, 29 Jun 2023 08:48:37 +0200 Subject: [PATCH] feat(ci): docker image build & push --- .../workflows/{cibuild.yaml => ci-container.yaml} | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) rename .github/workflows/{cibuild.yaml => ci-container.yaml} (74%) diff --git a/.github/workflows/cibuild.yaml b/.github/workflows/ci-container.yaml similarity index 74% rename from .github/workflows/cibuild.yaml rename to .github/workflows/ci-container.yaml index 291b902..8f1a4d3 100644 --- a/.github/workflows/cibuild.yaml +++ b/.github/workflows/ci-container.yaml @@ -1,4 +1,4 @@ -name: Docker Image CI +name: Docker Container CI on: push: @@ -37,4 +37,13 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=sha \ No newline at end of file + type=sha + + - name: Build and push Docker image + uses: docker/build-push-action@v4 + with: + context: . + file: ./Dockerfile + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file