Merge remote-tracking branch 'origin/master' into development

This commit is contained in:
AsP3X 2022-07-26 15:59:19 +02:00
commit 040c92431c

36
.github/workflows/docker-image.yml vendored Normal file
View File

@ -0,0 +1,36 @@
# This is a basic workflow to help you get started with Actions
name: docker-image-builder
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
building:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Building 1.19 Image
run: cd 1.19 && docker build -t zombymediaic/papermc:1.19 . && cd ..
# Runs a set of commands using the runners shell
- name: Pushing 1.19 image
run: |
docker push zombymediaic/code-server:latest