mirror of
https://github.com/Supernova3339/anonupload.git
synced 2026-02-01 20:19:03 +01:00
Create docker-image.yml
This commit is contained in:
18
.github/workflows/docker-image.yml
vendored
Normal file
18
.github/workflows/docker-image.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: publish
|
||||
on: [push]
|
||||
jobs:
|
||||
publish-hello-docker-image:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.DEPLOY_TOKEN }}
|
||||
- name: Build the Docker image
|
||||
run: |
|
||||
docker build . --tag ghcr.io/supernova3339/anonupload:latest
|
||||
docker run ghcr.io/supernova3339/anonupload:latest
|
||||
docker push ghcr.io/supernova3339/anonupload:latest
|
||||
Reference in New Issue
Block a user