Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Commit

Permalink
use github actions to build and push images
Browse files Browse the repository at this point in the history
  • Loading branch information
timche committed Jun 20, 2020
1 parent 8e76cd7 commit ef31bca
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: docker

on:
release:
types: [published]

jobs:
base:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: base
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
repository: timche/csgo
tags: latest,${{ github.event.release.tag_name }}
path: ./base
- name: sourcemod
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
repository: timche/csgo
tags: sourcemod,sourcemod-${{ github.event.release.tag_name }}
path: ./sourcemod
- name: pug-practice
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
repository: timche/csgo
tags: pug-practice,pug-practice-${{ github.event.release.tag_name }}
path: ./pug-practice

0 comments on commit ef31bca

Please sign in to comment.