Bump github.com/go-sql-driver/mysql from 1.6.0 to 1.9.3 (#68) #51
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: Publish Docker Latest | |
| on: | |
| push: | |
| branches: | |
| - master | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| permissions: | |
| contents: read | |
| jobs: | |
| push_to_registry: | |
| name: Push Docker image to Docker Hub Registry | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: stable | |
| check-latest: true | |
| cache: true | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - name: Build binary | |
| run: make build_linux | |
| - name: Build docker image | |
| run: make build_docker_latest | |
| - name: Tag docker latest | |
| run: make tag_docker_latest | |
| - name: Push docker image | |
| run: make push_docker_latest |