Skip to content

require hash option and execution path arg #32

require hash option and execution path arg

require hash option and execution path arg #32

Workflow file for this run

name: Server Build
on:
push:
branches: [ main ]
permissions:
packages: write
contents: read
jobs:
build-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor}}
password: ${{ github.token }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v3
with:
context: bws-dployer
tags: ghcr.io/tiptenbrink/bws-dployer:latest
cache-from: type=gha
cache-to: type=gha, mode=max
push: ${{ github.event_name != 'pull_request' }}