start updating workflow

This commit is contained in:
John Bowdre 2023-12-28 14:19:18 -06:00
parent 81f918ed38
commit b76a28a65f

View file

@ -8,7 +8,7 @@ on:
- "main" - "main"
- "v*.*.*" - "v*.*.*"
paths: paths:
- "images/tailscale/**" - "image/**"
permissions: permissions:
contents: read contents: read
@ -22,7 +22,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Get the repositery's code # Get the repository's code
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -63,7 +63,7 @@ jobs:
- name: Build and push - name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: images/tailscale/. context: image/.
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}