Compare commits
No commits in common. "91ca3254a77973064af88d5b782ff56f75d13e27" and "07ec53acd7cfba193293be61e70c9ffcda9a5efb" have entirely different histories.
91ca3254a7
...
07ec53acd7
31
.github/workflows/docker.yaml
vendored
31
.github/workflows/docker.yaml
vendored
@ -1,31 +0,0 @@
|
|||||||
name: Build and Push Docker Image
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v2
|
|
||||||
|
|
||||||
- name: Log in to Docker registry
|
|
||||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login git.jabuxas.xyz -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
|
||||||
run: |
|
|
||||||
docker build -t git.jabuxas.xyz/jabuxas/abyss:latest .
|
|
||||||
docker push git.jabuxas.xyz/jabuxas/abyss:latest
|
|
||||||
|
|
||||||
- name: Log out of Docker registry
|
|
||||||
run: docker logout git.jabuxas.xyz
|
|
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
paste:
|
paste:
|
||||||
image: git.jabuxas.xyz/jabuxas/abyss:latest
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "58080:8999"
|
- "58080:8999"
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user