diff --git a/.github/collab-mvn-settings.xml b/.github/collab-mvn-settings.xml deleted file mode 100644 index 711bbdc0d..000000000 --- a/.github/collab-mvn-settings.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - central - dockstore-bot - ${env.COLLAB_DEPLOY_TOKEN} - - - diff --git a/.github/snapshot-mvn-settings.xml b/.github/snapshot-mvn-settings.xml deleted file mode 100644 index ce26d73be..000000000 --- a/.github/snapshot-mvn-settings.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - snapshots - dockstore-snapshot-bot - ${env.SNAPSHOT_DEPLOY_TOKEN} - - - diff --git a/.github/workflows/deploy_artifacts.yml b/.github/workflows/deploy_artifacts.yml new file mode 100644 index 000000000..0d209c6a4 --- /dev/null +++ b/.github/workflows/deploy_artifacts.yml @@ -0,0 +1,16 @@ +name: Deploy artifacts + +on: + push: + tags: + - '**' + branches-ignore: + - 'master' + - 'release/**' + - 'hotfix/**' + - 'dependabot/**' + +jobs: + build: + uses: dockstore/workflow-actions/.github/workflows/deploy_artifacts.yaml@seab-6771/reusable-image-deploy + secrets: inherit diff --git a/.github/workflows/deploy_snapshot.yml b/.github/workflows/deploy_snapshot.yml deleted file mode 100644 index e7faceaef..000000000 --- a/.github/workflows/deploy_snapshot.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Deploy develop snapshot - -on: - push: - branches: - - develop - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-22.04 - - steps: - - uses: actions/checkout@v4 - # Step that does that actual cache save and restore - - uses: actions/cache@v4 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - - - name: Set up JDK - uses: actions/setup-java@v4 - with: - java-version: '17.0.4+8' - distribution: 'adopt' - - name: install git secrets - run: | - wget --no-verbose -O git-secrets-1.3.0.tar.gz https://github.com/awslabs/git-secrets/archive/1.3.0.tar.gz - tar -zxf git-secrets-1.3.0.tar.gz - cd git-secrets-1.3.0 - sudo make install - - - name: Deploy with mvnw - run: ./mvnw --batch-mode deploy -ntp -s .github/snapshot-mvn-settings.xml -DskipTests - env: - SNAPSHOT_DEPLOY_TOKEN: ${{ secrets.SNAPSHOT_DEPLOY_TOKEN }} diff --git a/.github/workflows/deploy_tagged.yml b/.github/workflows/deploy_tagged.yml deleted file mode 100644 index 614cd5d6b..000000000 --- a/.github/workflows/deploy_tagged.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Tagged release deploy - -on: - workflow_dispatch: - inputs: - changelist: - description: 'patch and pre-release metadata' - required: true - default: '.0-alpha.1' - - -jobs: - call-reusable-tagged-release: - uses: dockstore/workflow-actions/.github/workflows/deploy_tagged.yaml@main - with: - changelist: ${{ inputs.changelist }} - secrets: inherit