From 57d3c7cdc14e2b3c8110df519d2bd2176cea4903 Mon Sep 17 00:00:00 2001 From: Dominik Kohler Date: Wed, 31 Jan 2024 15:55:33 +0100 Subject: [PATCH] Naming --- .../workflows/{build-deploy.yml => build-push.yml} | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) rename .github/workflows/{build-deploy.yml => build-push.yml} (78%) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-push.yml similarity index 78% rename from .github/workflows/build-deploy.yml rename to .github/workflows/build-push.yml index dd82657..7c37180 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-push.yml @@ -1,4 +1,4 @@ -name: Build Image and deploy it to GHCR +name: Build Image and push it to GHCR on: push: @@ -10,19 +10,18 @@ on: jobs: build-push: + name: Build & Push runs-on: ubuntu-latest steps: - - name: Checkout + - name: Checkout Repository uses: actions/checkout@v4 - - name: Docker meta + - name: Get Docker metadata id: meta uses: docker/metadata-action@v5 with: - # list of Docker images to use as base name for tags images: | ghcr.io/${{ github.repository }} - # generate Docker tags based on the following events/attributes tags: | type=ref,event=branch type=ref,event=pr @@ -36,7 +35,7 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push + - name: Build and Push the Image uses: docker/build-push-action@v5 with: context: .