Skip to content

Commit

Permalink
Create image-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dbsqp authored Apr 8, 2021
1 parent d5dafd5 commit 6b0aa05
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/image-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build

on:
push:
branches: dev

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: install buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
buildx-version: latest
- name: login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: |
docker buildx build --push \
--tag dbsqp/nut-influxdbv2:dev \
--platform linux/amd64,linux/arm64 .

0 comments on commit 6b0aa05

Please sign in to comment.