Skip to content

Commit

Permalink
Update docker-image-devn.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rykcod authored Jan 12, 2024
1 parent bb2632f commit bf495c8
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/docker-image-devn.yml
Original file line number Diff line number Diff line change
@@ -1 +1,40 @@
name: Massa

on:
push:
tags:
- DEVN.*

jobs:

build:
runs-on: ubuntu-latest

env:
VERSION: ${{ github.ref_name }}

steps:
- name: Checkout the source code
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
build-args: VERSION=${{ env.VERSION }}
platforms: linux/amd64, linux/arm64
push: true
tags: ${{ github.repository }}:${{ env.VERSION }}

0 comments on commit bf495c8

Please sign in to comment.