Skip to content

Commit

Permalink
Updated GitHub Docker publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrinivas8687 committed Mar 9, 2023
1 parent 1dfc6e0 commit 3b7c9c4
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
name: Packages
name: Docker

on:
release:
types:
- released

jobs:
build-push:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup QEMU
- name: Setup Docker QEMU
uses: docker/setup-qemu-action@v2
- name: Setup BuildX
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
- name: Login into GitHub Container Registry
- name: Login into registry ghcr.io
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/dvpn-node:latest
tags: ghcr.io/${{ github.repository_owner }}/dvpn-node:latest

0 comments on commit 3b7c9c4

Please sign in to comment.