Skip to content

Commit

Permalink
this one
Browse files Browse the repository at this point in the history
  • Loading branch information
joshrwolf committed Mar 26, 2022
1 parent 51f610a commit 6839efb
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- '*'

permissions:
contents: write
packages: write

jobs:
Expand All @@ -17,23 +18,25 @@ jobs:
uses: docker/setup-qemu-action@v1
- uses: earthly/actions-setup@v1
with:
version: "latest" # or pin to an specific version, e.g. "v0.6.10"
- uses: actions/checkout@v2
- name: earthly version
run: earthly --version
version: "v0.6.10"
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Fetch all tags
run: git fetch --force --tags

- name: build
run: earthly --ci +publish-images --GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"

- name: build-offline-payload
run: earthly --ci +offline-payload

- name: Fetch all tags
run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down

0 comments on commit 6839efb

Please sign in to comment.