add word boundary for input, output and topic linting #148
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: nf-core Docker push (dev) | |
| # This builds the docker image and pushes it to DockerHub | |
| # Runs on nf-core repo releases and push event to 'dev' branch (PR merges) | |
| on: | |
| push: | |
| branches: [dev] | |
| # Cancel if a newer run is started | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| push_dockerhub: | |
| name: Push new Docker image to Docker Hub (dev) | |
| runs-on: ubuntu-latest | |
| # Only run for the nf-core repo, for releases and merged PRs | |
| if: ${{ github.repository == 'nf-core/tools' }} | |
| env: | |
| TARGET_PLATFORM: "linux/amd64,linux/arm64" | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| - name: Set up QEMU for multi-architecture build | |
| uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3 | |
| - name: Log in to Docker Hub | |
| uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_PASS }} | |
| # Retry building tools image once after a delay because of | |
| # irregularly occuring 403 http errors when installing nf-test | |
| - name: Build nfcore/tools image (dev) | |
| uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 | |
| with: | |
| timeout_minutes: 20 | |
| max_attempts: 2 | |
| retry_wait_seconds: 60 | |
| command: | | |
| docker buildx build \ | |
| --platform ${{ env.TARGET_PLATFORM }} \ | |
| -t nfcore/tools:dev \ | |
| --push --no-cache . | |
| - name: Build and push nfcore/devcontainer:dev image (dev) | |
| uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3 | |
| with: | |
| configFile: .devcontainer/build-devcontainer/devcontainer.json | |
| imageName: nfcore/devcontainer | |
| imageTag: dev | |
| platform: ${{ env.TARGET_PLATFORM }} | |
| push: always | |
| noCache: true |