Fix rinetd config reset #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |