Skip to content

Commit

Permalink
temp remove docker push on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
meghaniankov committed Jan 8, 2024
1 parent 65d4572 commit 78d6cd8
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,32 +40,32 @@ jobs:
# ruby-version: 3.2.2
# - run: rake push

docker:
needs: build
runs-on: ubuntu-latest
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
steps:
- uses: actions/checkout@v4
- name: Login to Quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- uses: actions/download-artifact@v3
with:
name: pkg
path: pkg/
- id: meta
uses: docker/metadata-action@v4
with:
images: quay.io/uswitch/terrafying
tags: type=semver,pattern={{version}}
- uses: docker/build-push-action@v4
with:
context: .
labels: ${{ steps.meta.outputs.labels }}
push: true
tags: ${{ steps.meta.outputs.tags }}
build-args: "TERRAFYING_VERSION=${{ github.ref_name }}"
# docker:
# needs: build
# runs-on: ubuntu-latest
# env:
# RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
# steps:
# - uses: actions/checkout@v4
# - name: Login to Quay.io
# uses: docker/login-action@v3
# with:
# registry: quay.io
# username: ${{ secrets.QUAY_USERNAME }}
# password: ${{ secrets.QUAY_PASSWORD }}
# - uses: actions/download-artifact@v3
# with:
# name: pkg
# path: pkg/
# - id: meta
# uses: docker/metadata-action@v4
# with:
# images: quay.io/uswitch/terrafying
# tags: type=semver,pattern={{version}}
# - uses: docker/build-push-action@v4
# with:
# context: .
# labels: ${{ steps.meta.outputs.labels }}
# push: true
# tags: ${{ steps.meta.outputs.tags }}
# build-args: "TERRAFYING_VERSION=${{ github.ref_name }}"

0 comments on commit 78d6cd8

Please sign in to comment.