eladhaim22 / keepalived Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I saw that you setup an action to build and push the image. I've made a few changes in order to use the same name the github repo is. I'm posting it here...
name: Docker Build/Publish Image
on:
push:
branches: [ master ]
jobs:
build-docker-image:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Prepare image version
run: |
echo "DOCKER_IMAGE=$GITHUB_REPOSITORY:1.$GITHUB_RUN_NUMBER" >> $GITHUB_ENV
- name: Prepare image name
run: |
echo "IMAGE_NAME=$GITHUB_REPOSITORY" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ env.DOCKER_IMAGE }}, ${{ env.IMAGE_NAME }}:latest
platforms: linux/arm/v7
Feel free to close it if you want.
Thanks for sharing your work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.