Skip to content

Docker Image CI

Docker Image CI #40

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ master ]
schedule:
- cron: 0 0 1 * *
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push debian image
uses: docker/build-push-action@v2
with:
push: true
tags: |
ceifa/garrysmod:debian
ceifa/garrysmod:latest
file: debian.Dockerfile
- name: Push debian-x64-root image
uses: docker/build-push-action@v2
with:
push: true
tags: ceifa/garrysmod:debian-x64-root
file: debian-x64-root.Dockerfile