testing-environment: standardize maintainer #1
Workflow file for this run
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: Build and push testing-environment Docker image | |
| on: | |
| push: | |
| tags: | |
| - 'testing-environment-*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Get release version | |
| id: get_version | |
| run: echo RELEASE_VERSION=$(echo ${GITHUB_REF:25}) >> $GITHUB_ENV | |
| - name: Build and push Docker image | |
| uses: docker/build-push-action@v1 | |
| with: | |
| repository: wuvt/testing-environment | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| tags: latest,${{ env.RELEASE_VERSION }} | |
| path: testing-environment | |
| add_git_labels: true | |
| - name: Build and push Docker image to GitHub Container Registry | |
| uses: docker/build-push-action@v1 | |
| with: | |
| repository: wuvt/testing-environment | |
| username: wuvt | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| registry: ghcr.io | |
| tags: latest,${{ env.RELEASE_VERSION }} | |
| path: testing-environment | |
| add_git_labels: true |