diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 548d28c..a62ed04 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,25 +1,24 @@ on: push: - branches: - - main + branches: ['main'] jobs: - docker: + build-and-push-image: runs-on: ubuntu-latest steps: - name: 'Checkout GitHub Action' uses: actions/checkout@main - - name: 'Login to GitHub Container Registry' - uses: docker/login-action@v1 + name: Login to GitHub Container Registry + uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{github.actor}} - password: ${{secrets.GITHUB_TOKEN}} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v6 with: push: true - tags: vyladence/filehost:latest + tags: ghcr.io/vyladence/filehost:latest