File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ RUN set -eux; \
14
14
docker-php-ext-install soap; \
15
15
curl -fsSL "https://github.com/drush-ops/drush-launcher/releases/latest/download/drush.phar" -o /usr/local/bin/drush && chmod +x /usr/local/bin/drush; \
16
16
# Addind mysql-client
17
- wget https://repo.mysql.com//mysql-apt-config_0.8.13-1_all.deb; \
18
- echo 4 | dpkg -i mysql-apt-config_0.8.13-1_all.deb; \
17
+ wget https://repo.mysql.com/mysql-apt-config_0.8.20-1_all.deb; \
18
+ echo 4 | dpkg -i mysql-apt-config_0.8.20-1_all.deb; \
19
+ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29; \
19
20
apt update; \
20
21
apt install -qq -y mysql-client; \
21
22
echo "[client]" >> /etc/mysql/my.cnf; echo "ssl-mode=DISABLED" >> /etc/mysql/my.cnf; \
Original file line number Diff line number Diff line change
1
+ name : Docker Image CI
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+
13
+ - name : Get the tag name
14
+ id : vars
15
+ run : echo ::set-output name=tag::$(echo ${GITHUB_REF:10})
16
+
17
+ - name : Build the tagged Docker image
18
+ run : pwd && ls -la && cd .docker/os2web && chmod +x build.sh && ./build.sh ${{steps.vars.outputs.tag}}
19
+
20
+ - name : Login to DockerHub Registry
21
+ run : echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
22
+
23
+ - name : Push the tagged Docker image
24
+ run : docker push dkbellcom/os2web8:${{steps.vars.outputs.tag}}
You can’t perform that action at this time.
0 commit comments