sandstorm-server/.github/workflows/build.yml
dependabot[bot] 9deae0746a
Bump docker/build-push-action from 3 to 5
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 19:55:45 +00:00

34 lines
No EOL
841 B
YAML

name: Build
on:
workflow_run:
workflows: ["Dependabot auto-merge"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
id: build
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: andrewmhub/insurgency-sandstorm:latest
-
name: Build and push lite
id: build-lite
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.lite
push: true
tags: andrewmhub/insurgency-sandstorm:lite