diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml deleted file mode 100644 index bdd40df..0000000 --- a/.github/workflows/nightly.yaml +++ /dev/null @@ -1,42 +0,0 @@ -name: Nightly - -# Download of the Photon DB is super slow (graphhopper server is the bottleneck). -# We don't want to block our CI/CD pipeline with this and daily updates are also not really required. -# Therefore, we switch to a weekly update cycle (and a time where we probably don't need our CI/CD pipleline anyway). -on: - schedule: - - cron: '0 7 * * 0' - -jobs: - publish-deutschland-main: - uses: ./.github/workflows/publish.yaml - with: - context: . - registry: bikenow.vkw.tu-dresden.de - image: ${{ github.repository }}-deutschland - branch: main - secrets: - NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }} - NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }} - - publish-deutschland-stable: - uses: ./.github/workflows/publish.yaml - with: - context: . - registry: bikenow.vkw.tu-dresden.de - image: ${{ github.repository }}-deutschland - branch: stable - secrets: - NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }} - NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }} - - publish-deutschland-release: - uses: ./.github/workflows/publish.yaml - with: - context: . - registry: bikenow.vkw.tu-dresden.de - image: ${{ github.repository }}-deutschland - branch: release - secrets: - NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }} - NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }} diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3754de7..00d2964 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -29,7 +29,7 @@ on: jobs: publish: - runs-on: self-hosted + runs-on: ubuntu-latest container: docker:latest permissions: diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 0e69e8f..9f7bc67 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -5,7 +5,6 @@ on: branches: - main - stable - - release tags: - v*