Update gcr.io/etcd-development/etcd Docker tag to v3.5.16 #15
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: Image Build and Push | |
env: | |
IMAGE_NAME: ghcr.io/justereseau/omni_etcd_backup | |
on: | |
push: | |
branches: ["main"] | |
ignore: | |
- "README.md" | |
pull_request: | |
branches: ["main"] | |
ignore: | |
- "README.md" | |
jobs: | |
push-store-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout GitHub Action | |
uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
platforms: linux/amd64 | |
# platforms: linux/arm64,linux/amd64,linux/arm/v7 | |
push: true | |
tags: "${{ env.IMAGE_NAME }}:latest,${{ env.IMAGE_NAME }}:${{ github.sha }}" |