This commit is contained in:
Richard Anthony 2023-01-27 19:09:03 +11:00
parent 1b4d6e2777
commit bd25620880
2 changed files with 0 additions and 41 deletions

View File

@ -1,19 +0,0 @@
name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file tinygo/Dockerfile --tag restic:tinygo-$(date +%s)
)

View File

@ -1,22 +0,0 @@
name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Pull TinyGo
run: docker pull tinygo/tinygo:0.26.0
- name: Build Project
run: docker run -v $(pwd):$(pwd) -w $(pwd)/internal/restic tinygo/tinygo tinygo build -o restic.wasm -target wasi