Skip to content

50 feature file immutable indexing #10

50 feature file immutable indexing

50 feature file immutable indexing #10

name: prod-alpine-amd64
"on":
pull_request:
branches:
- main
types:
- closed
jobs:
build-and-push-alpine-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get tag
id: repository
run: echo "tag=$(cat version)" > $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.API_TOKEN }}
- name: Build and push alpine
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile.alpine3.17-amd64
platforms: linux/amd64
push: true
tags: |
ghcr.io/thetaylorlee/docker-transcodeautomation:alpine3.17-amd64-${{ env.tag }}