From 830d0bdaddf511b470eac4007809e5d67453e91b Mon Sep 17 00:00:00 2001 From: yusing Date: Mon, 8 Apr 2024 05:34:41 +0000 Subject: [PATCH] revert github workflow --- .github/workflows/docker-image.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index bfeb218..56048fb 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -8,13 +8,7 @@ jobs: build_and_push: runs-on: ubuntu-latest steps: - - name: Set tags (latest) - if: "!endsWith(github.ref, '-dev')" - run: echo "::set-output name=tag::latest,${{ github.ref_name }}" - - name: Set tags (dev) - if: "endsWith(github.ref, '-dev')" - run: echo "::set-output name=tag::dev,${{ github.ref_name }}" - - name: Build and Push Container to ghcr.io - uses: GlueOps/github-actions-build-push-containers@v0.3.7 - with: - tags: ${{ steps.build_and_push.outputs.tag }} + - name: Build and Push Container to ghcr.io + uses: GlueOps/github-actions-build-push-containers@v0.3.7 + with: + tags: latest,${{ github.ref_name }} \ No newline at end of file