From c7fd13750474538b8c243669221e110f0ece7c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kay=20G=C3=BCrcan?= Date: Sun, 7 Jan 2024 15:53:11 +0100 Subject: [PATCH] chore: cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gökay Gürcan --- .github/workflows/dockerimage.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 47fadb6..fceb709 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -12,24 +12,9 @@ env: GITHUB: ${{ toJson(github) }} jobs: - version: - name: version - runs-on: ubuntu-latest - outputs: - version: ${{ steps.version.outputs.version }} - steps: - - id: version - name: Version - run: | - grep -r "NGINX_VERSION=" Dockerfile | cut -d "=" -f 2 | cut -d " " -f 1 - # echo "::set-output name=version::$(grep -r "NGINX_VERSION=" Dockerfile | cut -d "=" -f 2 | cut -d " " -f 1)" - echo "version=main" >> $GITHUB_OUTPUT - echo "version=$(grep -r "NGINX_VERSION=" Dockerfile | cut -d "=" -f 2 | cut -d " " -f 1)" >> $GITHUB_OUTPUT - nginx: name: nginx runs-on: ubuntu-latest - needs: [ version ] env: CI: true steps: @@ -55,7 +40,6 @@ jobs: name: Build image run: | docker build --file Dockerfile --tag gokaygurcan/nginx:latest . - # docker build --file Dockerfile --tag gokaygurcan/nginx:latest --tag gokaygurcan/nginx:${{ needs.version.outputs.version }} . docker ps -a - id: test @@ -73,6 +57,4 @@ jobs: with: context: . push: true - tags: | - gokaygurcan/nginx:latest - # gokaygurcan/nginx:${{ needs.version.outputs.version }} + tags: gokaygurcan/nginx:latest