Skip to content

Commit 781f849

Browse files
committed
Merge branch 'main' into update-logger
2 parents e7967c6 + 925e6d9 commit 781f849

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ jobs:
1717
uses: actions/setup-go@v2
1818
with:
1919
go-version: 1.17
20+
- name: Set up gcloud CLI
21+
uses: google-github-actions/setup-gcloud@v0.2.1
22+
with:
23+
project_id: airplane-prod
24+
service_account_key: ${{ secrets.GCP_KEY }}
25+
export_default_credentials: true
26+
- name: Configure Docker to use Artifact Registry
27+
run: gcloud auth configure-docker us-docker.pkg.dev
2028
- name: Run GoReleaser
2129
uses: goreleaser/goreleaser-action@v2
2230
with:

.goreleaser.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,7 @@ release:
6464
# Upload our installation scripts as release artifacts:
6565
- glob: ./scripts/install.sh
6666
- glob: ./scripts/install.ps1
67+
dockers:
68+
- image_templates:
69+
- us-docker.pkg.dev/airplane-prod/public/cli:latest
70+
- us-docker.pkg.dev/airplane-prod/public/cli:{{ trimprefix .Tag "v" }}

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM alpine:3.10
2+
COPY ./airplane /bin
3+
ENTRYPOINT ["/bin/airplane"]

0 commit comments

Comments
 (0)