Skip to content

debug Request.BasicAuth #15

debug Request.BasicAuth

debug Request.BasicAuth #15

Workflow file for this run

name: Build & Push Docker Image

Check failure on line 1 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker.yml

Invalid workflow file

(Line: 6, Col: 3): Unexpected value 'tags', (Line: 7, Col: 5): A sequence was not expected
on:
push:
branches: [ "main" ]
tags:
- "v*"
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/remnawave-tinyauth
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
platforms: linux/amd64,linux/arm64
build-args: |
VERSION=${{ github.ref_name }}
COMMIT_HASH=${{ github.sha }}
BUILD_TIMESTAMP=${{ github.run_id }}