Skip to content

Commit

Permalink
ci: Publish gluon-jenkins to hub.docker
Browse files Browse the repository at this point in the history
  • Loading branch information
AiyionPrime committed Jun 29, 2024
1 parent a3ecbb3 commit 831a09e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build Docker image

on:
push:
branches: [ "nightly-wireguard" ]

jobs:
build:
name: Build Docker image and push to container repository
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: aiyion/gluon-jenkins:latest

0 comments on commit 831a09e

Please sign in to comment.