Browse Source

fix automation

pull/5/head
Daniel Gibbs 2 years ago
parent
commit
0c3d5cb9de
No known key found for this signature in database GPG Key ID: 4D812BAB6228BBA6
  1. 1
      .github/dependabot.yml
  2. 4
      .github/workflows/codacy-analysis.yml
  3. 30
      .github/workflows/docker-publish.yml
  4. 4
      .github/workflows/snyk-container.yml
  5. 4
      .github/workflows/super-linter.yml

1
.github/dependabot.yml

@ -1,7 +1,6 @@
# Set update schedule for GitHub Actions
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:

4
.github/workflows/codacy-analysis.yml

@ -15,10 +15,10 @@ name: Codacy Security Scan
on:
push:
branches: ["main","master"]
branches: ["main", "master"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main","master"]
branches: ["main", "master"]
schedule:
- cron: "28 22 * * 4"

30
.github/workflows/docker-publish.yml

@ -2,7 +2,7 @@ name: Docker Publish
on:
push:
branches: ["main","master"]
branches: ["main", "master"]
schedule:
- cron: "0 0 * * *"
@ -35,27 +35,7 @@ jobs:
platforms: linux/amd64
push: true
tags: |
gameservermanagers/steamcmd:latest
gameservermanagers/steamcmd:ubuntu-22.04
ghcr.io/gameservermanagers/steamcmd:latest
ghcr.io/gameservermanagers/steamcmd:ubuntu-22.04
- name: Build and push (Ubuntu 20.04)
uses: docker/[email protected]
with:
context: .
file: ./Dockerfile.ubuntu-2004
platforms: linux/amd64
push: true
tags: |
gameservermanagers/steamcmd:ubuntu-20.04
ghcr.io/gameservermanagers/steamcmd:ubuntu-20.04
- name: Build and push (Ubuntu 18.04)
uses: docker/[email protected]
with:
context: .
file: ./Dockerfile.ubuntu-1804
platforms: linux/amd64
push: true
tags: |
gameservermanagers/steamcmd:ubuntu-18.04
ghcr.io/gameservermanagers/steamcmd:ubuntu-18.04
gameservermanagers/linuxgsm:latest
gameservermanagers/linuxgsm:ubuntu-22.04
ghcr.io/gameservermanagers/linuxgsm:latest
ghcr.io/gameservermanagers/linuxgsm:ubuntu-22.04

4
.github/workflows/snyk-container.yml

@ -15,10 +15,10 @@ name: Snyk Container
on:
push:
branches: ["main","master"]
branches: ["main", "master"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main","master"]
branches: ["main", "master"]
schedule:
- cron: "45 1 * * 4"

4
.github/workflows/super-linter.yml

@ -8,9 +8,9 @@ name: Lint Code Base
on:
push:
branches: ["main","master"]
branches: ["main", "master"]
pull_request:
branches: ["main","master"]
branches: ["main", "master"]
jobs:
run-lint:
runs-on: ubuntu-latest

Loading…
Cancel
Save