nais / docker-build-push Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Syns et action bør ha en pinned version, både for breaking changes ikke går direkt i main men også for at man skal vite hva man bruker i sitt action, hvis man bruker main så kan de vare hav som en går inn i main som man kjør i sitt action, så mulig vi må begynne å versionere dette action?
Hei,
Kjempe initiativ med egen action! Her kommer noe forslag fra min siden.
Ville det være mulig å bygge images for forskjellige platform, få støtte for flere tags og pulle underliggende images?
Vi bruke noe slik per i dag og ser at dere bruker docker/build-push-action@v4 under panseret også så jeg regner med at det blir mulig å etablere noe sånt.
- name: Set up QEMU
if: inputs.build-image
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
if: inputs.build-image
uses: docker/setup-buildx-action@v2
- name: Build and push
if: inputs.build-image
uses: docker/build-push-action@v4
with:
context: .
**platforms: linux/amd64, linux/arm64** # støtte både for Intel og Apple
**pull: true** # greit med en pull slit at underliggende images får en update
push: ${{ inputs.push-image }}
**tags: app:tag1, app:latest** # støtte for flere tags
cache-from: type=gha
cache-to: type=gha,mode=max
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.