Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Mar 21, 2022
1 parent 92cb7ec commit ea2d0c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: Docker
# When git master branch changes it will build a image based on the master branch, the tag of the image will be latest.
# When a git semver tag is pushed it will build a image based on it, the tag will be the same as git's.
# It will do nothing on other git events.
# For the usage of the image, check lib/examples/launch-managed .

name: Release docker image
on: [push, pull_request]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-other-platforms.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test Mac
name: Test Other Platforms
on:
push:
branches:
Expand Down
6 changes: 3 additions & 3 deletions lib/utils/docker/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// The .github/workflows/docker.yml will use it as an github action
// Then run this:
// DOCKER_TOKEN=your_token go run ./lib/utils/docker refs/heads/master
// The .github/workflows/docker.yml uses it as an github action
// and run it like this:
// DOCKER_TOKEN=$TOKEN go run ./lib/utils/docker $GITHUB_REF
package main

import (
Expand Down

0 comments on commit ea2d0c0

Please sign in to comment.