|
45 | 45 | run: ./update_tag_in_docs_and_files.sh ${LATEST_TAG} ${NEXT_TAG} |
46 | 46 | - name: Build images |
47 | 47 | run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make build |
| 48 | + - name: Login Docker Hub |
| 49 | + run: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" |
| 50 | + env: |
| 51 | + DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}} |
| 52 | + DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} |
| 53 | + - name: Deploy new images |
| 54 | + uses: nick-invision/retry@v2 |
| 55 | + with: |
| 56 | + timeout_minutes: 20 |
| 57 | + max_attempts: 3 |
| 58 | + command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release |
| 59 | + - name: Tag images as latest |
| 60 | + uses: nick-invision/retry@v2 |
| 61 | + with: |
| 62 | + timeout_minutes: 20 |
| 63 | + max_attempts: 3 |
| 64 | + command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make tag_latest |
| 65 | + - name: Deploy latest tag |
| 66 | + uses: nick-invision/retry@v2 |
| 67 | + with: |
| 68 | + timeout_minutes: 20 |
| 69 | + max_attempts: 3 |
| 70 | + command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release_latest |
| 71 | + - name: Tag browser images |
| 72 | + uses: nick-invision/retry@v2 |
| 73 | + with: |
| 74 | + timeout_minutes: 20 |
| 75 | + max_attempts: 3 |
| 76 | + command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} PUSH_IMAGE=true make tag_and_push_browser_images |
48 | 77 | - name: Commit files |
49 | 78 | run: | |
50 | 79 | git config --local user.email "[email protected]" |
|
55 | 84 | with: |
56 | 85 | github_token: ${{ secrets.SELENIUM_CI_TOKEN }} |
57 | 86 | branch: trunk |
58 | | - - name: Login Docker Hub |
59 | | - run: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" |
60 | | - env: |
61 | | - DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}} |
62 | | - DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} |
63 | | - - name: Deploy new images |
64 | | - run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release |
65 | | - - name: Tag images as latest |
66 | | - run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make tag_latest |
67 | | - - name: Deploy latest tag |
68 | | - run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release_latest |
69 | | - - name: Tag browser images |
70 | | - run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} PUSH_IMAGE=true make tag_and_push_browser_images |
71 | 87 | - name: Create release notes (release_notes.md) |
72 | 88 | run: ./generate_release_notes.sh ${LATEST_TAG} origin/trunk ${GRID_VERSION} ${BUILD_DATE} |
73 | 89 | - name: Create Release |
|
0 commit comments