-
-
Notifications
You must be signed in to change notification settings - Fork 9
28 lines (22 loc) · 655 Bytes
/
docker-image.yml
File metadata and controls
28 lines (22 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
run: |
docker build . --tag ghcr.io/interfacegui/discord-temp-vc-bot:latest
docker push ghcr.io/interfacegui/discord-temp-vc-bot:latest