Bump braces from 3.0.2 to 3.0.3 (#279) #7
This file contains 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: Docker main build | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: docker-main | |
cancel-in-progress: true | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the new image | |
run: docker build . -t ghcr.io/zeuswpi/zauth:${{ github.sha }} | |
- name: Login to the container registry | |
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin | |
- name: Tag the new image with latest | |
run: docker tag ghcr.io/zeuswpi/zauth:${{ github.sha }} ghcr.io/zeuswpi/zauth:latest | |
- name: Push the new image | |
run: docker push --all-tags ghcr.io/zeuswpi/zauth |