From 53983fc59006e5db8367c6314cf7576a96d27898 Mon Sep 17 00:00:00 2001 From: greysoh Date: Sat, 4 May 2024 19:28:30 -0400 Subject: [PATCH] chore: Remove unneeded steps. --- .github/workflows/build.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00b488f..ce20f19 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,12 +27,8 @@ jobs: registry: ghcr.io username: ${{github.actor}} password: ${{secrets.GITHUB_TOKEN}} - - name: get version - id: get_version - run: | - echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT - name: build images run: | - docker build ./api --tag ghcr.io/greysoh/api:${{ steps.get_version.outputs.version }} + docker build ./api --tag ghcr.io/greysoh/api:$(cat VERSION) docker push ghcr.io/greysoh/api:latest - docker push ghcr.io/greysoh/api:${{ steps.get_version.outputs.version }} \ No newline at end of file + docker push ghcr.io/greysoh/api:$(cat VERSION) \ No newline at end of file