diff --git a/server/.github/workflows/prod-ci.yml b/.github/workflows/server-release.yml similarity index 70% rename from server/.github/workflows/prod-ci.yml rename to .github/workflows/server-release.yml index 791e5218c..d3007e941 100644 --- a/server/.github/workflows/prod-ci.yml +++ b/.github/workflows/server-release.yml @@ -1,16 +1,10 @@ -name: Prod CI +name: "Release (server)" on: - workflow_dispatch: - # Enable manual run - push: - # Sequence of patterns matched against refs/tags - tags: - - "v*" # Push events to matching v*, i.e. v4.2.0 + workflow_dispatch: # Run manually jobs: build: - # This job will run on ubuntu virtual machine runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/server/.github/workflows/dev-ci.yml b/server/.github/workflows/dev-ci.yml deleted file mode 100644 index 8900f5369..000000000 --- a/server/.github/workflows/dev-ci.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Dev CI - -on: - workflow_dispatch: - # Enable manual run - push: - # Sequence of patterns matched against refs/tags - tags: - - "v*" # Push events to matching v*, i.e. v4.2.0 - -jobs: - build: - # This job will run on ubuntu virtual machine - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - name: Check out code - - - uses: mr-smithers-excellent/docker-build-push@v6 - name: Build & Push - with: - image: ente/museum-dev - registry: rg.fr-par.scw.cloud - enableBuildKit: true - buildArgs: GIT_COMMIT=${GITHUB_SHA} - tags: ${GITHUB_SHA}, latest - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }}