Skip to content

Ensure rinetd config is reset when Docker restarts #7

Ensure rinetd config is reset when Docker restarts

Ensure rinetd config is reset when Docker restarts #7

name: Build and push
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Save base image ID
run: |
docker pull ubuntu:jammy
docker images --format '{{.ID}}' ubuntu:jammy > .github/docker-image-built-against
- name: Build and push
uses: mr-smithers-excellent/docker-build-push@v6
with:
image: docker-wireguard-tunnel
tags: v2, latest
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Commit and push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}