mirror of
https://github.com/ilteoood/docker-surfshark.git
synced 2025-12-25 14:39:13 +01:00
GitHub action
This commit is contained in:
committed by
iLTeoooD
parent
ee65c6d42f
commit
5bd5076efd
19
.github/workflows/build_only.yml
vendored
Normal file
19
.github/workflows/build_only.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Build only image
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build image job
|
||||
steps:
|
||||
- name: Checkout master
|
||||
uses: actions/checkout@master
|
||||
- name: Build image
|
||||
uses: ilteoood/docker_buildx@master
|
||||
with:
|
||||
tag: latest,1.0
|
||||
platform: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6
|
||||
imageName: ilteoood/docker-surfshark
|
||||
23
.github/workflows/build_publish.yml
vendored
Normal file
23
.github/workflows/build_publish.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Build and publish image
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
schedule:
|
||||
- cron: '0 6 * * 1'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build image job
|
||||
steps:
|
||||
- name: Checkout master
|
||||
uses: actions/checkout@master
|
||||
- name: Build and publish image
|
||||
uses: ilteoood/docker_buildx@master
|
||||
with:
|
||||
tag: latest,1.0
|
||||
imageName: ilteoood/docker-surfshark
|
||||
platform: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6
|
||||
publish: true
|
||||
dockerHubUser: ilteoood
|
||||
dockerHubPassword: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||
Reference in New Issue
Block a user