From b6cfe02367904a2f1b9d8df549113373fda27d90 Mon Sep 17 00:00:00 2001 From: Nicolas Trimborn Date: Wed, 19 Jul 2023 18:52:58 +0200 Subject: [PATCH] asda --- deploy-hello-world.yaml | 46 ----------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 deploy-hello-world.yaml diff --git a/deploy-hello-world.yaml b/deploy-hello-world.yaml deleted file mode 100644 index d7a4556..0000000 --- a/deploy-hello-world.yaml +++ /dev/null @@ -1,46 +0,0 @@ -name: Deploy Hello World - -on: - push: - branches: - - master - tags: - - "v*-hello-world" - pull_request: - branches: - - 'master' - -jobs: - deploy-docker-hello-world: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Docker meta - id: meta - uses: docker/metadata-action@v4 - with: - images: git.nicktrimborn.de/hello-world - flavor: latest=true - tags: | - type=ref,event=branch - type=ref,event=pr - type=semver,pattern={{version}} - - - name: Login to image repository - if: github.ref_type == 'tag' - uses: docker/login-action@v2 - with: - registry: git.nicktrimborn.de - username: ${{ github.actor }} - password: ${{ secrets.GHCR_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v3 - with: - context: . - file: docker/dockerfile/hello-world/Dockerfile - push: ${{ github.ref_type == 'tag' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file