UI Changes #11
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 Publish Docker Image | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-and-push: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. Checkout the repository | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| # 2. Log in to GitHub Container Registry (GHCR) | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GHCR_PAT }} | |
| # 3. Build Docker image | |
| - name: Build Docker image | |
| run: | | |
| docker build -t ghcr.io/kf637/steam-account-reputation-check:latest . | |
| # 4. Push Docker image to GHCR | |
| - name: Push Docker image | |
| run: | | |
| docker push ghcr.io/kf637/steam-account-reputation-check:latest |