Skip to content

2024.9.1-1

2024.9.1-1 #76

on:
release:
types: [created]
jobs:
build-push-release:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: firecow
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
install: true
- name: Build and push
run: |
docker buildx build --platform linux/amd64,linux/arm64 . -t firecow/cloudflared:${{ github.event.release.tag_name }} --push
docker buildx build --platform linux/amd64,linux/arm64 . -t firecow/cloudflared:latest --push