Skip to content

Commit

Permalink
Revert "fix(ci): remove warnings due to deprecated action (datahub-pr…
Browse files Browse the repository at this point in the history
…oject#6735)" (datahub-project#6857)

This reverts commit 1da27ed.
  • Loading branch information
anshbansal authored and cccs-Dustin committed Feb 1, 2023
1 parent 8500d6d commit 9557c15
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/actions/docker-custom-build-and-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ runs:
steps:
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v4
uses: crazy-max/ghaction-docker-meta@v1
with:
# list of Docker images to use as base name for tags
images: ${{ inputs.images }}
# add git short SHA as Docker tag
tags: |
type=raw,value=${{ inputs.tags }}
tag-custom: ${{ inputs.tags }}
tag-custom-only: true

# Code for testing the build when not pushing to Docker Hub.
- name: Build and Load image for testing (if not publishing)
uses: docker/build-push-action@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-ingestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ jobs:
fetch-depth: 0
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v4
uses: crazy-max/ghaction-docker-meta@v1
with:
# list of Docker images to use as base name for tags
images: |
linkedin/datahub-ingestion
# add git short SHA as Docker tag
tags: |
type=raw,value=${{ needs.setup.outputs.tag }}
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-postgres-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ jobs:
fetch-depth: 0
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v4
uses: crazy-max/ghaction-docker-meta@v1
with:
# list of Docker images to use as base name for tags
images: |
acryldata/datahub-postgres-setup
# add git short SHA as Docker tag
tags: |
type=raw,value=${{ needs.setup.outputs.tag }}
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
if: ${{ needs.setup.outputs.publish == 'true' }}
uses: docker/login-action@v2
Expand Down

0 comments on commit 9557c15

Please sign in to comment.