Skip to content

Commit

Permalink
Remove changed files detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Apr 28, 2024
1 parent cb723af commit 9ed831e
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,20 @@ jobs:
with:
fetch-depth: 0

- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
**/*.go
go.*
Dockerfile
.github/workflows/**/*
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Log in to the Container registry
if: steps.changed-files.outputs.any_changed == 'true'
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
if: steps.changed-files.outputs.any_changed == 'true'
id: meta
uses: docker/metadata-action@v3
with:
Expand All @@ -55,7 +43,6 @@ jobs:
type=sha
- name: Build and push Docker image
if: steps.changed-files.outputs.any_changed == 'true'
uses: docker/build-push-action@v2
with:
context: .
Expand Down

0 comments on commit 9ed831e

Please sign in to comment.