fodler mode
This commit is contained in:
24
.gitea/workflows/build.yaml
Normal file
24
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Build and push image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ gitsecrets.token }}
|
||||
- name: Install
|
||||
run: curl -fsSL get.docker.com | bash
|
||||
- name: Clone
|
||||
run: git clone https://git.tgj.services/thatguyjack/wednesday-emails.git .
|
||||
- name: Login
|
||||
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login https://git.tgj.services -u ThatGuyJack --password-stdin
|
||||
- name: Buildx Container
|
||||
run: docker buildx create --name buildx --driver=docker-container
|
||||
- name: Build wednesday
|
||||
run: docker buildx build --builder=buildx --platform=linux/amd64 . -t git.tgj.services/thatguyjack/wednesday-emails:latest --push
|
Reference in New Issue
Block a user