First push
This commit is contained in:
20
.gitea/workflows/build.yaml
Normal file
20
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Build and push image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install
|
||||
run: curl -fsSL get.docker.com | bash
|
||||
- name: Clone
|
||||
run: git clone https://git.tgj.services/thatguyjack/game-server-docker.git .
|
||||
- name: Login
|
||||
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login git.tgj.services -u thatguyjack --password-stdin
|
||||
- name: Buildx Container
|
||||
run: docker buildx create --name buildx --driver=docker-container
|
||||
- name: Build ACC
|
||||
run: docker buildx build --builder=buildx --platform=linux/amd64,linux/arm64 ./ACC -t git.tgj.services/thatguyjack/ACC:latest --push
|
Reference in New Issue
Block a user