Skip to content

Update publish.yml

Update publish.yml #4

Workflow file for this run

on:
push:
branches:
- main
jobs:
publish-filehost-docker-image:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
push: true
tags: |
ghcr.io/vyladence/filehost:latest