Skip to content

Commit 2f24c2d

Browse files
authored
build: only build on releases (#92)
stop trying to build image on every PR merge
1 parent 4bd3978 commit 2f24c2d

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/package.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Build and publish a container image
22

33
on:
44
push:
5-
branches: ['main']
65
tags: ['v*']
76
workflow_dispatch:
87
repository_dispatch:
@@ -75,11 +74,6 @@ jobs:
7574
org.opencontainers.image.version=${{ env.APP_VERSION }}
7675
org.opencontainers.image.eodag.version=${{ env.EODAG_VERSION }}
7776
78-
- name: Install git
79-
run: |
80-
sudo apt-get update
81-
sudo apt-get install -y git
82-
8377
- name: Build and push container image
8478
id: push
8579
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)