Skip to content

Commit

Permalink
Create dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wimaha committed Jan 12, 2025
1 parent 2e33ffb commit 5b41ef6
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Release

env:
GO_VERSION: ^1.23

on:
push:
tags:
- "*"
workflow_dispatch:

jobs:
docker:
name: Publish Docker :release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}

- name: Setup Buildx
uses: docker/setup-buildx-action@v3

- name: Meta
id: meta
uses: docker/metadata-action@v5
with:
images: wimaha/tesla-ble-http-proxy
tags: |
type=raw,value=dev
- name: Publish
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
push: true
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 5b41ef6

Please sign in to comment.